-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalias.go
More file actions
33 lines (29 loc) · 914 Bytes
/
alias.go
File metadata and controls
33 lines (29 loc) · 914 Bytes
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
package logger
import "github.com/primalcs/logger/types"
// Contains aliases for connection constants for easier access and usage
const (
ConnectionTCP = types.ConnectionTCP
ConnectionUDP = types.ConnectionUDP
ConnectionLOCAL = types.ConnectionLOCAL
ConnectionFILE = types.ConnectionFILE
ConnectionNSQ = types.ConnectionNSQ
)
// Contains aliases for priority constants for easier access and usage
const (
EMERG = types.EMERG
ALERT = types.ALERT
CRIT = types.CRIT
ERR = types.ERR
WARN = types.WARN
NOTIFY = types.NOTIFY
INFO = types.INFO
DEBUG = types.DEBUG
FORCE = types.FORCE // force one of levels above = types.FORCE // force one of levels above
)
// Contains aliases for delimiter constants for easier access and usage
const (
DelimiterV = types.DelimiterV
DelimiterH = types.DelimiterH
DelimiterA = types.DelimiterA
DefaultDelimiter = DelimiterV
)