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.warn
andevent.log.error
.This class can also be used to implement the event emitter.
Parameters:
timestamp
Date
level
string
loggerContext
string
message
string
trace
string
error
level.context
string
v0.3.2