# Functions
AddHook adds a hook to all loggers.
Configuration returns the logger settings.
Configure creates a new context with a logger using the provided settings.
ContextWithLogger returns a new context with the provided logger.
CorrelationIDForRequest returns checks the http headers for any of the supported correlation id headers.
CorrelationIDFromContext returns the correlation id associated with the context logger or empty string if none exists.
DefaultLogger returns the default logger.
DefaultSettings returns default values for Log settings.
ForContext retrieves the current logger from the context.
RegisterFormatter registers a new logrus Formatter with the given name.
# Constants
FieldComponentName is the key of the component field in the log message.
FieldCorrelationID is the key of the correlation id field in the log message.
# Variables
C is an alias for ForContext.
CorrelationIDHeaders are the headers whose values will be taken as a correlation id for incoming requests The first one will be set on outgoing requests.
D is an alias for DefaultLogger.
# Structs
KibanaFormatter is a logrus formatter that formats an entry for Kibana.
Settings type to be loaded from the environment.