We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b4722d commit f5a3592Copy full SHA for f5a3592
logger.go
@@ -42,14 +42,15 @@ type Logger struct {
42
core zapcore.Core
43
44
development bool
45
+ addCaller bool
46
+ onFatal zapcore.CheckWriteAction // default is WriteThenFatal
47
+
48
name string
49
errorOutput zapcore.WriteSyncer
50
- addCaller bool
- addStack zapcore.LevelEnabler
51
+ addStack zapcore.LevelEnabler
52
53
callerSkip int
- onFatal zapcore.CheckWriteAction // default is WriteThenFatal
54
}
55
56
// New constructs a new Logger from the provided zapcore.Core and Options. If
0 commit comments