EVENTS
An event class that is attached to emitted events as a payload for events with the name event.log.warn and event.log.error. This class can also be used to implement the event emitter. Parameters:
event.log.warn
event.log.error
timestamp
Date
level
string
loggerContext
message
trace
error
context
v0.3.2
Constructs an instance of a base event.
public
Static method to create and return a new instance of this class based on the required inputs.
Generated using TypeDoc
EVENTS
An event class that is attached to emitted events as a payload for events with the name
event.log.warnandevent.log.error.This class can also be used to implement the event emitter.
Parameters:
timestampDatelevelstringloggerContextstringmessagestringtracestringerrorlevel.contextstringv0.3.2