chat-server/node_modules/triple-beam/config/cli.js

43 lines
616 B
JavaScript

/**
* cli.js: Config that conform to commonly used CLI logging levels.
*
* (C) 2010 Charlie Robbins
* MIT LICENCE
*/
'use strict';
/**
* Default levels for the CLI configuration.
* @type {Object}
*/
exports.levels = {
error: 0,
warn: 1,
help: 2,
data: 3,
info: 4,
debug: 5,
prompt: 6,
verbose: 7,
input: 8,
silly: 9
};
/**
* Default colors for the CLI configuration.
* @type {Object}
*/
exports.colors = {
error: 'red',
warn: 'yellow',
help: 'cyan',
data: 'grey',
info: 'green',
debug: 'blue',
prompt: 'grey',
verbose: 'cyan',
input: 'grey',
silly: 'magenta'
};