Versions in this module Expand all Collapse all v2 v2.0.0 Aug 8, 2022 Changes in this version + const ConfigurationKeyDisableCaller + const ConfigurationKeyDisableEvents + const ConfigurationKeyDisableStacktrace + const ConfigurationKeyEncoding + const ConfigurationKeyLevel + const ConfigurationKeyOutputPaths + const LevelDebug + const LevelError + const LevelFatal + const LevelInfo + const LevelPanic + const LevelWarn + var ErrGlobalLoggerAlreadyInitialized = errors.New("global logger already initialized") + var Events = struct{ ... } + func InitGlobalLogger(config *configuration.Configuration) error + func NewEventCore(enabler zapcore.LevelEnabler) zapcore.Core + func SetLevel(l Level) + type Config struct + DisableCaller bool + DisableEvents bool + DisableStacktrace bool + Encoding string + Level string + OutputPaths []string + type Level = zapcore.Level + type Logger = zap.SugaredLogger + func NewExampleLogger(name string) *Logger + func NewLogger(name string) *Logger + func NewNopLogger() *Logger + func NewRootLogger(cfg Config, levelOverride ...zap.AtomicLevel) (*Logger, error) + func NewRootLoggerFromConfiguration(config *configuration.Configuration, levelOverride ...zap.AtomicLevel) (*Logger, error) Other modules containing this package github.com/finderAUT/hive.go/v3