PyDocs

Nav

Generic Operating System Services

NTEventLogHandler.getMessageID

  • NTEventLogHandler.getMessageID(record)
Return the message ID for the event record. If you are using your
own messages, you could do this by having the msg passed to the
logger being an ID rather than a formatting string. Then, in here,
you could use a dictionary lookup to get the message ID. This
version returns 1, which is the base message ID in win32service.pyd.
0 Examples
No examples for logging.handlers/NTEventLogHandler.getMessageID.
See Also
No see-alsos for logging.handlers/NTEventLogHandler.getMessageID
0 Notes
No notes for NTEventLogHandler.getMessageID