API reference › @evolu/common › Console › ConsoleFormatterConfig
Defined in: packages/common/src/Console.ts:262
Configuration for createConsoleFormatter.
Properties
startTime?
readonly startTime?: number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative"> & Brand<"LessThan281474976710655"> & Brand<"Millis">;
Defined in: packages/common/src/Console.ts:280
Start time for relative timestamps. Defaults to the time the first entry is formatted.
Pass a Millis value to use a custom start time, useful when multiple consoles should share the same relative timeline.
timestampFormat?
readonly timestampFormat?: ConsoleEntryTimestampFormat;
Defined in: packages/common/src/Console.ts:271
Timestamp format to prepend to log messages.
"relative"— elapsed since start:+0.000s,+1.500s,+1m30.000s"absolute"— local clock time:14:32:15.234"iso"— ISO 8601 UTC:2026-01-28T14:30:00.123Z"none"— no timestamp (default)