# installNodeDefaults

`function` in `logger/node` · v0.2.1-next.0

<https://docs.seedcord.org/packages/logger/0.2.1-next.0/functions/install-node-defaults>

Installs the node defaults into the registry config layer. Dev is a pretty console plus one combined file, prod is JSON to the console. A node bootstrap calls this before any logging.

```ts
installNodeDefaults(overrides?: LoggerConfig): void
```

Installs the node defaults into the registry config layer. Dev is a pretty console plus one combined file, prod is JSON to the console. A node bootstrap calls this before any logging.

Parameters.

- `overrides?` `LoggerConfig` — A bot's `config.logger`. Level, sinks, or channels the bot sets take precedence. Omitted fields keep the node defaults.

Returns `void`.
