-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't expose structured fields or checking
Keep the sugared API wholly separate from the unsugared API: don't expose a way to add plan `zapcore.Field`s to the context, and don't plan to expose a checked entry API. This cleans up the sugared logger implementation. Since the sugared logger is a concrete type and not an interface, we can always add these curlicues back later.
- Loading branch information
Akshay Shah
committed
Jan 16, 2017
1 parent
2698eca
commit 41649e4
Showing
2 changed files
with
20 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters