package
2.15.1+incompatible
Repository: https://github.com/jeffail/benthos.git
Documentation: pkg.go.dev
# Functions
New creates and returns a new logger object.
NewConfig returns a config struct with the default values for each field.
Noop creates and returns a new logger object that writes nothing.
WithFields attempts to cast the Modular implementation into an interface that implements WithFields, and if successful returns the result.
Wrap a PrintFormatter with a log.Modular implementation.
WrapAtLevel wraps a PrintFormatter with a log.Modular implementation with an explicit log level.
# Variables
Errors used throughout the package.
# Interfaces
Modular is a log printer that allows you to branch new modules.
PrintFormatter is an interface implemented by standard loggers.