package
0.0.0-20230129155529-b74a4f7c78e5
Repository: https://github.com/linuxkit/rtf.git
Documentation: pkg.go.dev

# Functions

NewConsoleLogger returns a new logger that logs to stderr in console log format.
NewFileLogger returns a new logger that logs to file in a console log format.
NewLogDispatcher returns a new LogDispatcher with the provided backend Loggers.

# Constants

LevelCancel represents the Cancel log level.
LevelCritical represents the Critical Log Level.
LevelDebug represents the Debug log level.
LevelError represents the Error log level.
LevelFail represents the Fail log level.
LevelInfo represents the Informational logging level.
LevelPass represents the Pass log level.
LevelSkip represents the Skip log level.
LevelStderr represents the Stderr log level.
LevelStdout represents the Stdout log level.
LevelSummary represents the Summary log level.
LevelWarning represents the Warning log level.

# Variables

LevelNames maps LogLevels to a string representation of their names.

# Interfaces

LogDispatcher dispatches logs to multiple Loggers.
LogFormatter formats log entries in to a string.
A Logger formats and writes log entries.
LogWriter writes log entries somewhere.

# Type aliases

ColourMap maps logLevels to colorizing functions.
LogLevel is The severity level of the logs 0 is the lowest severity.