Python EventLogRecord Object
A record from an Event Log contains quite a bit of information.
Rather than attempt to encode this information in a tuple, a
PyEventLogRecord
object is used. These objects have the
attributes described in Table 18.1.
Attribute |
Description |
|
The number of the Event Log record. This number could be used to seek to the specific record. |
|
A |
|
A |
|
An integer event ID, as defined by the application writing the record. |
|
An integer defining the event type. Will be one of:
|
|
An integer event category, as defined by the application writing the record. |
|
The name of the application that generated the Event Log record. |
|
The name of the computer that generated this message. |
|
The string inserts for this message. |
|
The security identifier of a user to be associated with this record. |
|
The raw binary data for the Event Log record. |
Get Python Programming On Win32 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.