Skip to content
Functionlogger/nodev0.6.0

installNodeDefaults

Installs the node defaults into the registry config layer. Dev is a console plus one combined file, anything else is a console only. A node bot's start() calls this. After this call, configure falls back to the node console sink when a config omits sinks.

installNodeDefaults(overrides?: LoggerConfig): void

overrides?

overrides?: LoggerConfig

A bot's config.logger. Level, sinks, or channels the bot sets take precedence. Omitted fields keep the node defaults.