-
Notifications
You must be signed in to change notification settings - Fork 4
/
envs.go
45 lines (31 loc) · 1.5 KB
/
envs.go
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
package envs
const (
// ZenlogConf is an environmental variable key for ~/.zenlog.toml.
ZenlogConf = "ZENLOG_CONF"
// ZenlogBin is an environmental variable key for the zenlog executable fullpath.
ZenlogBin = "ZENLOG_BIN"
// ZenlogSourceDir is an environmental variable key for the zenlog source top directory fullpath.
ZenlogSourceDir = "ZENLOG_SRC_DIR"
// ZenlogBinCtime is an environmental variable key for the zenlog binary timestamp.
ZenlogBinCtime = "ZENLOG_BIN_CTIME"
// ZenlogPid is an environmental variable key for the zenlog logger process PID.
ZenlogPid = "ZENLOG_PID"
// ZenlogSignature is an environmental variable key.
ZenlogSignature = "ZENLOG_SIGNATURE"
// ZenlogDir is an environmental variable key for the log directory.
ZenlogDir = "ZENLOG_DIR"
// ZenlogTemp is an environmental variable key for the temporary directory.
ZenlogTemp = "ZENLOG_TEMP"
// ZenlogAutoFlush is an environmental variable key.
ZenlogAutoFlush = "ZENLOG_AUTO_FLUSH"
// ZenlogUseExperimentalCommandParser is an environmental variable key.
ZenlogUseExperimentalCommandParser = "ZENLOG_USE_EXPERIMENTAL_COMMAND_PARSER"
// ZenlogOuterTty is an environmental variable key.
ZenlogOuterTty = "ZENLOG_OUTER_TTY"
// ZenlogLoggerIn is an environmental variable key.
ZenlogLoggerIn = "ZENLOG_LOGGER_IN"
// ZenlogLoggerOut is an environmental variable key.
ZenlogLoggerOut = "ZENLOG_LOGGER_OUT"
// If ZenlogUseSplice is true, zenlog uses splice(2) and tee(2) on linux.
ZenlogUseSplice = "ZENLOG_USE_SPLICE"
)