package
5.2.1
Repository: https://github.com/peterebden/go-cli-init.git
Documentation: pkg.go.dev

# Functions

InitFileLogging initialises logging backends, both to stderr and to a file.
InitLogging initialises logging backends.
InitStructuredLogging is like InitFileLogging but allows specifying whether the output should be structured as JSON.
MustGetLogger is a wrapper around go-logging's function of the same name.
MustGetLoggerNamed is like MustGetLogger but lets the caller choose the name.
MustInitFileLogging is like InitFileLogging but dies on any errors.
MustInitStructuredLogging is like InitStructuredLogging but dies on any errors.

# Constants

MaxVerbosity is the maximum verbosity we support.
MinVerbosity is the maximum verbosity we support.

# Interfaces

A LogLevelInfo describes and can modify levels of the set of registered loggers.

# Type aliases

A Verbosity is used as a flag to define logging verbosity.