log4js-node

A port of log4js to node.js

View the Project on GitHub

Standard Output Appender

This appender writes all log events to the standard output stream. It is the default appender for log4js.

Configuration

Example

log4js.configure({
  appenders: { out: { type: "stdout" } },
  categories: { default: { appenders: ["out"], level: "info" } },
});