LoggingEvent
@codification/cutwater-logging > LoggingEvent
Class
Represents a logging message and all required context.
beta:
Hierarchy
LoggingEvent
Constructors
Properties
Constructors
constructor
⊕ new LoggingEvent(logger: Logger, level: Level, message: any
): LoggingEvent
Defined in LoggingEvent.ts:8
Creates an instance of a LoggingEvent.
Parameters:
Name | Type | Description |
---|---|---|
logger | Logger | the logger that should output the message |
level | Level | the level associated with the message |
message | any | the message to be logged |
Returns: LoggingEvent
Properties
level
● level: Level
Defined in LoggingEvent.ts:18
the level associated with the message
logger
● logger: Logger
Defined in LoggingEvent.ts:17
the logger that should output the message
message
● message: any
Defined in LoggingEvent.ts:20
the message to be logged