Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Byte alignment, optimization from 96 to 80 byte #865

Merged
merged 2 commits into from
Dec 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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