-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LeveledLogger: Add doc and prioritize it over Logger (#97)
* Document LeveledLogger better to make it clear to developers that the second variadic argument accepts key-value pairs like hci-log or zap logger and not Printf style logging. * When the passed logger implements both Logger and LeveledLogger interfaces, prioritize LeveledLogger over Logger. Switch statements evaluate cases from top to bottom. Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
- Loading branch information
1 parent
171d0c9
commit cf855b1
Showing
1 changed file
with
22 additions
and
18 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