package
Version:
v0.12.1
Opens a new window with list of versions in this module.
Published: Jun 25, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 44
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
TraceLevel = 2
DebugLevel = 1
InfoLevel = 0
)
These are for convenience when doing log.V(...) to log at a
particular level. They correspond to the logr equivalents of the
zap levels above.
NewLogger returns a logger configured with the given Options,
and timestamps set to the ISO8601 format.
Options contains the configuration options for the logger.
BindFlags will parse the given flagset for logger option flags and
set the Options accordingly.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.