Documentation
¶
Overview ¶
Package logger provides an interface for logging. It wraps awesome existing go loggers with that interface. In that case, it is easy to change the log provider without breaking anything in your application. Additionally log level, fields, time duration or caller information can be added.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrProvider = errors.New("logger: provider does not implement logger.Manager")
ErrProvider - Error message.
Functions ¶
Types ¶
type Fields ¶
type Fields map[string]interface{}
Fields can be used to add more details to a log message.
Click to show internal directories.
Click to hide internal directories.