Sha256: ddc854b9fda2c1898c8c87a1ffbea41221f30c7efb3d397f3c296a9fd0d2cb59
Contents?: true
Size: 728 Bytes
Versions: 17
Compression:
Stored size: 728 Bytes
Contents
var fs = require('fs'); var pkg = JSON.parse(fs.readFileSync(__dirname + '/../package.json').toString()); exports.VERSION = pkg.version; exports.DEFAULT_PORT = process.env.PORT || 9876; exports.DEFAULT_HOSTNAME = process.env.IP || 'localhost'; // log levels exports.LOG_DISABLE = 'OFF'; exports.LOG_ERROR = 'ERROR'; exports.LOG_WARN = 'WARN'; exports.LOG_INFO = 'INFO'; exports.LOG_DEBUG = 'DEBUG'; // Default patterns for the pattern layout. exports.COLOR_PATTERN = '%[%p [%c]: %]%m'; exports.NO_COLOR_PATTERN = '%p [%c]: %m'; // Default console appender exports.CONSOLE_APPENDER = { type: 'console', layout: { type: 'pattern', pattern: exports.COLOR_PATTERN } }; exports.EXIT_CODE = '\x1FEXIT';
Version data entries
17 entries across 17 versions & 2 rubygems