chat-server/node_modules/triple-beam/index.js

47 lines
1.0 KiB
JavaScript
Raw Normal View History

2019-04-10 13:07:31 +10:00
'use strict';
/**
* A shareable symbol constant that can be used
* as a non-enumerable / semi-hidden level identifier
* to allow the readable level property to be mutable for
* operations like colorization
*
* @type {Symbol}
*/
Object.defineProperty(exports, 'LEVEL', {
value: Symbol.for('level')
});
/**
* A shareable symbol constant that can be used
* as a non-enumerable / semi-hidden message identifier
* to allow the final message property to not have
* side effects on another.
*
* @type {Symbol}
*/
Object.defineProperty(exports, 'MESSAGE', {
value: Symbol.for('message')
});
/**
* A shareable symbol constant that can be used
* as a non-enumerable / semi-hidden message identifier
* to allow the extracted splat property be hidden
*
* @type {Symbol}
*/
Object.defineProperty(exports, 'SPLAT', {
value: Symbol.for('splat')
});
/**
* A shareable object constant that can be used
* as a standard configuration for winston@3.
*
* @type {Object}
*/
Object.defineProperty(exports, 'configs', {
value: require('./config')
});