-
Notifications
You must be signed in to change notification settings - Fork 2
/
zap_sugar_generated.go
106 lines (80 loc) · 2.26 KB
/
zap_sugar_generated.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
// Code generated by log-gen. DO NOT EDIT.
package logx
import (
"go.uber.org/zap"
)
func Desugar() *zap.Logger {
return getSugarLogger().Desugar()
}
func Named(name string) *zap.SugaredLogger {
return getSugarLogger().Named(name)
}
func With(args ...interface{}) *zap.SugaredLogger {
return getSugarLogger().With(args...)
}
func Debug(args ...interface{}) {
getSugarLogger().Debug(args...)
}
func Info(args ...interface{}) {
getSugarLogger().Info(args...)
}
func Warn(args ...interface{}) {
getSugarLogger().Warn(args...)
}
func Error(args ...interface{}) {
getSugarLogger().Error(args...)
}
func DPanic(args ...interface{}) {
getSugarLogger().DPanic(args...)
}
func Panic(args ...interface{}) {
getSugarLogger().Panic(args...)
}
func Fatal(args ...interface{}) {
getSugarLogger().Fatal(args...)
}
func Debugf(template string, args ...interface{}) {
getSugarLogger().Debugf(template, args...)
}
func Infof(template string, args ...interface{}) {
getSugarLogger().Infof(template, args...)
}
func Warnf(template string, args ...interface{}) {
getSugarLogger().Warnf(template, args...)
}
func Errorf(template string, args ...interface{}) {
getSugarLogger().Errorf(template, args...)
}
func DPanicf(template string, args ...interface{}) {
getSugarLogger().DPanicf(template, args...)
}
func Panicf(template string, args ...interface{}) {
getSugarLogger().Panicf(template, args...)
}
func Fatalf(template string, args ...interface{}) {
getSugarLogger().Fatalf(template, args...)
}
func Debugw(msg string, keysAndValues ...interface{}) {
getSugarLogger().Debugw(msg, keysAndValues...)
}
func Infow(msg string, keysAndValues ...interface{}) {
getSugarLogger().Infow(msg, keysAndValues...)
}
func Warnw(msg string, keysAndValues ...interface{}) {
getSugarLogger().Warnw(msg, keysAndValues...)
}
func Errorw(msg string, keysAndValues ...interface{}) {
getSugarLogger().Errorw(msg, keysAndValues...)
}
func DPanicw(msg string, keysAndValues ...interface{}) {
getSugarLogger().DPanicw(msg, keysAndValues...)
}
func Panicw(msg string, keysAndValues ...interface{}) {
getSugarLogger().Panicw(msg, keysAndValues...)
}
func Fatalw(msg string, keysAndValues ...interface{}) {
getSugarLogger().Fatalw(msg, keysAndValues...)
}
func Sync() error {
return getSugarLogger().Sync()
}