46 lines
1 KiB
JavaScript
46 lines
1 KiB
JavaScript
'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')
|
|
});
|