added unit testing, and started implementing unit tests...phew
This commit is contained in:
38
node_modules/triple-beam/config/syslog.js
generated
vendored
Normal file
38
node_modules/triple-beam/config/syslog.js
generated
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
/**
|
||||
* syslog.js: Config that conform to syslog logging levels.
|
||||
*
|
||||
* (C) 2010 Charlie Robbins
|
||||
* MIT LICENCE
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Default levels for the syslog configuration.
|
||||
* @type {Object}
|
||||
*/
|
||||
exports.levels = {
|
||||
emerg: 0,
|
||||
alert: 1,
|
||||
crit: 2,
|
||||
error: 3,
|
||||
warning: 4,
|
||||
notice: 5,
|
||||
info: 6,
|
||||
debug: 7
|
||||
};
|
||||
|
||||
/**
|
||||
* Default levels for the syslog configuration.
|
||||
* @type {Object}
|
||||
*/
|
||||
exports.colors = {
|
||||
emerg: 'red',
|
||||
alert: 'yellow',
|
||||
crit: 'red',
|
||||
error: 'red',
|
||||
warning: 'red',
|
||||
notice: 'yellow',
|
||||
info: 'green',
|
||||
debug: 'blue'
|
||||
};
|
Reference in New Issue
Block a user