forked from winstonjs/triple-beam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
50 lines (46 loc) · 1.12 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
'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', {
enumerable: true,
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', {
enumerable: true,
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', {
enumerable: true,
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', {
enumerable: true,
value: require('./config')
});