mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
422 B
422 B
Standard Output Appender
This appender writes all log events to the standard output stream. It is the default appender for log4js.
Configuration
type-stdoutlayout-object(optional, defaults to colouredLayout) - see layouts
Example
log4js.configure({
appenders: { out: { type: "stdout" } },
categories: { default: { appenders: ["out"], level: "info" } },
});