-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use zap.NewDevelopmentConfig to setup logger (#85)
The Zap library provides a logger config that can be used without pulling in controller-runtime as a dependency. Since alizer is only using a few options, the dependency on controller-runtime can be avoided by using zap's NewDevelopmentConfig (which sets the development flag and the ISO8601 time encoder), and setting the log level on that. Signed-off-by: Sam Lucidi <[email protected]>
- Loading branch information
Showing
3 changed files
with
14 additions
and
59 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
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