# Functions
InitGlobalLogger initializes the global logger from the provided viper config.
NewEventCore creates a core that publishes log messages as events.
NewExampleLogger builds a Logger that's designed to be only used in tests or examples.
NewLogger returns a new named child of the global root logger.
NewNopLogger returns a no-op Logger.
NewRootLogger creates a new root logger from the provided configuration.
NewRootLoggerFromViper creates a new root logger from the provided viper configuration.
SetLevel alters the logging level of the global logger.
# Constants
LevelDebug logs are typically voluminous, and are usually disabled in production.
LevelError logs are high-priority.
LevelFatal logs a message, then calls os.Exit(1).
LevelInfo is the default logging priority.
LevelPanic logs a message, then panics.
LevelWarn logs are more important than Info, but don't need individual human review.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ErrGlobalLoggerAlreadyInitialized is returned when InitGlobalLogger is called more than once.
Events contains all the events that are triggered by the logger.