Skip to main content

Interface: LoggerTimestampFormatter

logger/src.LoggerTimestampFormatter

Callable

LoggerTimestampFormatter

LoggerTimestampFormatter(timestamp): string

The formatter used for LoggerTimestampOptions. This will be run after applying the color to the formatter.

since 1.0.0

Parameters

NameTypeDescription
timestampstringThe output of LoggerStyle.run on {@link Timestamp.display}/{@link Timestamp.displayUTC}.

Returns

string

Defined in

projects/plugins/packages/logger/src/lib/LoggerTimestamp.ts:99