@adrianhall/cloudflare-toolkit
@adrianhall/cloudflare-toolkit / index / ConsoleTransportOptions
Interface: ConsoleTransportOptions
Defined in: src/lib/logging/types.ts:159
Options for createConsoleTransport.
Properties
colors?
readonlyoptionalcolors?:boolean
Defined in: src/lib/logging/types.ts:164
Whether to emit ANSI color codes in the output. Defaults to true. Set to false for CI environments or when piping output to a file.
timestamp?
readonlyoptionaltimestamp?:false|"time"|"iso"
Defined in: src/lib/logging/types.ts:172
Controls the timestamp prefix on each line.
"time"— conciseHH:MM:SSderived fromrecord.time(default)."iso"— full ISO 8601 string fromrecord.time.false— no timestamp.