Jump To …
winston/common.html winston/config/cli-config.html winston/config/npm-config.html winston/config/syslog-config.html winston/config.html winston/exception.html winston/logger.html winston/transports/console.html winston/transports/couchdb.html winston/transports/file.html winston/transports/loggly.html winston/transports/transport.html winston/transports/webhook.html winston/transports.html winston.html

# npm-config.js |
--- | ---
¶ |
    /*
     * npm-config.js: Config that conform to npm logging levels.
     *
     * (C) 2010 Charlie Robbins
     * MIT LICENCE
     *
     */

    var npmConfig = exports;

    npmConfig.levels = {
      silly: 0,
      verbose: 1,
      info: 2,
      warn: 3,
      debug: 4,
      error: 5
    };

    npmConfig.colors = {
      silly: 'magenta',
      verbose: 'cyan',
      info: 'green',
      warn: 'yellow',
      debug: 'blue',
      error: 'red'
    };