Skip to content

FormatOptions

Defined in: node_modules/kerium/dist/log.d.ts:76

colorize: "message" | "level"

Defined in: node_modules/kerium/dist/log.d.ts:86

How to colorize the message:

  • level: Colorize the level.
  • message: Colorize the message. For EMERG and ALERT, the level is also included.

style: "ansi" | "css"

Defined in: node_modules/kerium/dist/log.d.ts:80

Whether to use ANSI escape codes (e.g. for Xterm) or CSS (for browsers) to colorize the log