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.

# Constants

Logger level constants.
Logger level constants.
Logger level constants.
Logger level constants.
Logger level constants.
Logger level constants.
Logger level constants.
Logger level constants.

# Variables

Errors used throughout the package.

# Structs

Config holds configuration options for a logger object.
Logger is an object with support for levelled logging and modular components.

# Interfaces

Modular is a log printer that allows you to branch new modules.
PrintFormatter is an interface implemented by standard loggers.