Skip to content

Commit f5a3592

Browse files
author
村口大白鹅
authored
Byte alignment, optimization from 96 to 80 byte (#865)
1 parent 5b4722d commit f5a3592

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

logger.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,15 @@ type Logger struct {
4242
core zapcore.Core
4343

4444
development bool
45+
addCaller bool
46+
onFatal zapcore.CheckWriteAction // default is WriteThenFatal
47+
4548
name string
4649
errorOutput zapcore.WriteSyncer
4750

48-
addCaller bool
49-
addStack zapcore.LevelEnabler
51+
addStack zapcore.LevelEnabler
5052

5153
callerSkip int
52-
onFatal zapcore.CheckWriteAction // default is WriteThenFatal
5354
}
5455

5556
// New constructs a new Logger from the provided zapcore.Core and Options. If

0 commit comments

Comments
 (0)