[event log] adding event metadata

This commit is contained in:
1orenz0
2019-10-06 16:09:39 +01:00
committed by hakril
parent b5371ddf33
commit adb7d3b63a
+21 -1
View File
@@ -816,9 +816,29 @@ class EventMetadata(EvtHandle):
@property
def channel_id(self):
"""The the Channel attribute of the Event definition"""
"""The Channel attribute of the Event definition"""
return eventinfo(self, gdef.EventMetadataEventChannel).value
@property
def keyword(self):
"""The keyword attribute of the Event definition"""
return eventinfo(self, gdef.EventMetadataEventKeyword).value
@property
def opcode(self):
"""The opcode attribute of the Event definition"""
return eventinfo(self, gdef.EventMetadataEventOpcode).value
@property
def level(self):
"""The level attribute of the Event definition"""
return eventinfo(self, gdef.EventMetadataEventLevel).value
@property
def task(self):
"""The task attribute of the Event definition"""
return eventinfo(self, gdef.EventMetadataEventTask).value
@property
def message_id(self):
"""Identifies the message attribute of the event definition."""