Skip to content

Commit

Permalink
Byte alignment, optimization from 96 to 80 byte (uber-go#865)
Browse files Browse the repository at this point in the history
  • Loading branch information
村口大白鹅 committed Dec 11, 2020
1 parent 7077f49 commit 61748b8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions logger.go
Expand Up @@ -42,14 +42,15 @@ type Logger struct {
core zapcore.Core

development bool
addCaller bool
onFatal zapcore.CheckWriteAction // default is WriteThenFatal

name string
errorOutput zapcore.WriteSyncer

addCaller bool
addStack zapcore.LevelEnabler
addStack zapcore.LevelEnabler

callerSkip int
onFatal zapcore.CheckWriteAction // default is WriteThenFatal
}

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

0 comments on commit 61748b8

Please sign in to comment.