The highest tagged major version is
v2.
package
Version:
v0.5.0-rc1
Opens a new window with list of versions in this module.
Published: Feb 26, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 8
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.
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.