Skip to content

Commit

Permalink
Byte alignment, optimization from 96 to 80 byte (#865)
Browse files Browse the repository at this point in the history
  • Loading branch information
村口大白鹅 authored Dec 11, 2020
1 parent 5b4722d commit f5a3592
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions logger.go
Original file line number Diff line number Diff line change
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 f5a3592

Please sign in to comment.