package
0.2.1
Repository: https://github.com/indiependente/pkg.git
Documentation: pkg.go.dev

# Functions

GetConsoleLogger returns a pointer to a Logger that logs from logLevel and above to standard output in colorised human readable format.
GetLogger returns a pointer to a Logger that logs from logLevel and above.
GetLoggerString - alternative Logger constructor that returns a pointer to a Logger based on a string defining a log level.
ParseLogLevel parses the input string and returns the respective log level.

# Constants

DEBUG level logging.
DISABLED level logging.
ERROR level logging.
FATAL level logging.
INFO level logging.
PANIC level logging.
WARNING level logging.

# Structs

FastLogger implements the LogChainer interface and relies on http://github.com/rs/zerolog.

# Interfaces

Logger defines the behavior of the logger.

# Type aliases

LogKey is the type each key that appears in the log should be.
LogLevel represents the logging level.