The highest tagged major version is
v2.
package
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: May 23, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 84
Opens a new window with list of known importers.
Documentation
¶
Hex creates a zap field which convert binary to hex.
InitLoggers initializes the global logger and other sub loggers.
Logger returns logger of the given name
RegisterLevelConfigMux registers log's level config http mux.
type GlobalConfig struct {
Zap *zap.Config `json:"zap" yaml:"zap"`
StderrRedirectFile *string `json:"stderrRedirectFile" yaml:"stderrRedirectFile"`
RedirectStdLog bool `json:"stdLogRedirect" yaml:"stdLogRedirect"`
}
GlobalConfig defines the global logger configurations.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.