log4js-node by log4js-node
A port of log4js to node.js
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" } },
});