@statesync/core / ConsoleLoggerOptions
Interface: ConsoleLoggerOptions
Defined in: logger.ts:18
Configuration options for the console-based logger created by createConsoleLogger.
Properties
debug?
ts
optional debug: boolean;Defined in: logger.ts:36
Whether debug()-level messages are emitted.
When false, calls to debug() are silently dropped (no-op). Set to true during development or troubleshooting to see verbose sync output.
Default Value
false
prefix?
ts
optional prefix: string;Defined in: logger.ts:26
A string prefix prepended to every log message.
Useful for distinguishing state-sync logs from other console output.
Default Value
"[state-sync]"
