API reference@evolu/commonConsole › ConsoleFormatterConfig

Defined in: packages/common/src/Console.ts:275

Configuration for createConsoleFormatter.

Properties

startTime?

readonly optional startTime?: number & Brand<"Int"> & Brand<"NonNegative"> & Brand<"LessThan281474976710655"> & Brand<"Millis">;

Defined in: packages/common/src/Console.ts:292

Start time for relative timestamps. Defaults to first entry timestamp.

Pass a Millis value to use a custom start time, useful when multiple consoles should share the same relative timeline.


timestampFormat?

readonly optional timestampFormat?: ConsoleEntryTimestampFormat;

Defined in: packages/common/src/Console.ts:284

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)