Interface: LoggerTimestampFormatter
@sapphire/plugin-logger.LoggerTimestampFormatter
The formatter used for LoggerTimestampOptions. This will be run after applying the color to the formatter.
Since
1.0.0
Callable
LoggerTimestampFormatter
▸ LoggerTimestampFormatter(timestamp
): string
Parameters
Name | Type | Description |
---|---|---|
timestamp | string | The output of run on Timestamp.display/Timestamp.displayUTC. |
Returns
string
Since
1.0.0
Defined in
projects/plugins/packages/logger/src/lib/LoggerTimestamp.ts:99