package
Version:
v0.4.4
Opens a new window with list of versions in this module.
Published: Feb 6, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Hex creates a zap field which convert binary to hex.
InitGlobal initializes the global logger.
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.