Class: LoggerLevel
Logger utility that stores and applies a full style into the message.
Since
1.0.0
Constructors
new LoggerLevel()
new LoggerLevel(
options
:LoggerLevelOptions
):LoggerLevel
Parameters
Parameter | Type |
---|---|
options | LoggerLevelOptions |
Returns
Defined in
projects/plugins/packages/logger/src/lib/LoggerLevel.ts:27
Properties
infix
infix:
string
The infix, added between the timestamp and the message.
Since
1.0.0
Defined in
projects/plugins/packages/logger/src/lib/LoggerLevel.ts:19
message
message:
null
|LoggerStyle
The style formatter for the message.
Since
1.0.0
Defined in
projects/plugins/packages/logger/src/lib/LoggerLevel.ts:25
timestamp
timestamp:
null
|LoggerTimestamp
The timestamp formatter.
Since
1.0.0
Defined in
projects/plugins/packages/logger/src/lib/LoggerLevel.ts:13
Methods
run()
run(
content
:string
):string
Parameters
Parameter | Type |
---|---|
content | string |
Returns
string