package
1.3.0
Repository: https://github.com/warpstreamlabs/bento.git
Documentation: pkg.go.dev

# Functions

DocsMarkdown returns a markdown document for the logger documentation.
No description provided by the author
New returns a new logger from a config, or returns an error if the config is invalid.
No description provided by the author
NewConfig returns a config struct with the default values for each field.
Noop creates and returns a new logger object that writes nothing.
Spec returns a field spec for the logger configuration fields.
No description provided by the author
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.

# Structs

Config holds configuration options for a logger object.
File contains configuration for file based logging.
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.