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

base_field_names()

Return the base field names for the event.

deserialize(record)

Deserialize event from JSON.

field_names()

Return all field names for the event.

to_dict()

Convert event object to dict

values()

Return the values for all fields in the event.

base_field_names()[source]

Return the base field names for the event.

Return type:

list

classmethod deserialize(record)

Deserialize event from JSON.

Parameters:

record (dict)

Return type:

StructuredLogEvent

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