-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOUTLET_CONFIG.js
46 lines (43 loc) · 1 KB
/
OUTLET_CONFIG.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
import colors from "color-name";
import TEMPLATES from "./TEMPLATES";
import LEVELS from "./LEVELS";
colors.lightorange = [254, 216, 177];
colors.lightred = [255, 204, 203];
const OUTLET_CONFIG = {
isExclusive: true,
threshold: process.env.NODE_ENV === "production" ? LEVELS.WARN : LEVELS.TRACE,
template: TEMPLATES.lm,
colors: {
mono: false,
inverted: true,
bg: {
enabled: true,
duration: [],
level: {
TRACE: colors.whitesmoke,
DEBUG: colors.lightblue,
INFO: colors.lightgreen,
WARN: colors.lightorange,
ERROR: colors.lightred,
FATAL: colors.indianred
},
name: [],
message: []
},
fg: {
enabled: true,
duration: [],
level: {
TRACE: colors.dimgray,
DEBUG: colors.darkblue,
INFO: colors.darkgreen,
WARN: colors.orangered,
ERROR: colors.red,
FATAL: colors.darkred
},
name: [],
message: []
}
},
};
export default OUTLET_CONFIG;