package
0.0.0-20180607183310-e4e2e1436f52
Repository: https://github.com/casualjim/go-app.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

KnownFormatters returns a list of keys for the currently registered formatters.
KnownHooks returns the list of keys for the registered hooks.
KnownWriters returns the list of keys for the registered writers.
NewRegistry creates a new logger registry.
RegisterFormatter registers a formatter for use in config files.
RegisterHook for use through configuration system.
RegisterWriter for use through the configuration system When you register a writer with a name that was already present then that writer will get overwritten.

# Variables

DefaultFormatter the fallback formatter when no registered one matches.
DefaultWriter is used as fallback when no other writer can be found.
RootName of the root logger, defaults to root.

# Structs

LoggerRegistry represents a registry for known loggers.

# Interfaces

Logger is the interface that application use to log against.

# Type aliases

CreateFormatter is a factory for creating formatters configured through viper.
CreateHook creates a hook based on a viper config.
CreateWriter based on a viper config.