Skip to main content

Interface: LoggerOptions

Defined in: logger.types.ts:32 Configuration options for the Logger

Properties

colorize?

optional colorize?: boolean
Defined in: logger.types.ts:44 Whether to colorize log output

filePath?

optional filePath?: string
Defined in: logger.types.ts:52 Path to the log file if logToFile is enabled

includeTimestamp?

optional includeTimestamp?: boolean
Defined in: logger.types.ts:40 Whether to include timestamps in log messages

logToFile?

optional logToFile?: boolean
Defined in: logger.types.ts:48 Whether to write logs to a file (server-side only)

minLevel?

optional minLevel?: LogLevel
Defined in: logger.types.ts:36 The minimum level of messages to log