-
Notifications
You must be signed in to change notification settings - Fork 29
/
logger.go
32 lines (31 loc) · 1 KB
/
logger.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
package log
type Logger interface {
Debug(args ...interface{})
Debugf(template string, args ...interface{})
Debugln(args ...interface{})
Debugw(msg string, kv KeysAndValues)
Info(args ...interface{})
Infof(template string, args ...interface{})
Infoln(args ...interface{})
Infow(msg string, kv KeysAndValues)
Warn(args ...interface{})
Warnf(template string, args ...interface{})
Warnln(args ...interface{})
Warnw(msg string, kv KeysAndValues)
Error(args ...interface{})
Errorf(template string, args ...interface{})
Errorln(args ...interface{})
Errorw(msg string, kv KeysAndValues)
DPanic(args ...interface{})
DPanicf(template string, args ...interface{})
DPanicln(args ...interface{})
DPanicw(msg string, kv KeysAndValues)
Panic(args ...interface{})
Panicf(template string, args ...interface{})
Panicln(args ...interface{})
Panicw(msg string, kv KeysAndValues)
Fatal(args ...interface{})
Fatalf(template string, args ...interface{})
Fatalln(args ...interface{})
Fatalw(msg string, kv KeysAndValues)
}