jade.events.StructuredErrorLogEvent¶
- class jade.events.StructuredErrorLogEvent(source, category, name, message, **kwargs)[source]¶
Bases:
StructuredLogEvent
Event specific to exceptions
Must be called in an exception context.
Methods
Return the base field names for the event.
deserialize
(record)Deserialize event from JSON.
Return all field names for the event.
to_dict
()Convert event object to dict
values
()Return the values for all fields in the event.
- classmethod deserialize(record)¶
Deserialize event from JSON.
- Parameters:
record (dict)
- Return type:
- field_names()¶
Return all field names for the event.
- Return type:
list
- to_dict()¶
Convert event object to dict
- values()¶
Return the values for all fields in the event.
- Return type:
list