Interface: LoggerTimestampOptions
Defined in: projects/plugins/packages/logger/src/lib/LoggerTimestamp.ts:55
The options for LoggerTimestamp.
Since
1.0.0
Properties
color?
optionalcolor:null|LoggerStyleResolvable
Defined in: projects/plugins/packages/logger/src/lib/LoggerTimestamp.ts:80
The color to use.
Since
1.0.0
Default
colorette.reset
formatter?
optionalformatter:LoggerTimestampFormatter
Defined in: projects/plugins/packages/logger/src/lib/LoggerTimestamp.ts:87
The formatter. See LoggerTimestampFormatter for more information.
Since
1.0.0
Default
(value) => ${value} -
pattern?
optionalpattern:string
Defined in: projects/plugins/packages/logger/src/lib/LoggerTimestamp.ts:66
The Timestamp pattern.
Since
1.0.0
Default
'YYYY-MM-DD HH:mm:ss'
Example
'YYYY-MM-DD HH:mm:ss'
// 2020-12-23 22:01:10
utc?
optionalutc:boolean
Defined in: projects/plugins/packages/logger/src/lib/LoggerTimestamp.ts:73
Whether or not the date should be UTC.
Since
1.0.0
Default
false