package
1.0.1
Repository: https://github.com/linuxboot/contest.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ConvertLogger converts arbitrary logger to Logger.
Dummy returns a dummy logger which implements Logger, but does nothing.
ParseLogLevel parses incoming string into a Level and returns LevelUndefined with an error if an unknown logging level was passed.
RegisterAdapter registers an Adapter to be used by ConvertLogger.

# Constants

EndOfLevel is just used as a limiter for `for`-s.
LevelDebug will report about Debugf-s, Infof-s, ...
LevelError will report about Errorf-s, Panicf-s, ...
LevelFatal will report about Fatalf-s only.
LevelInfo will report about Infof-s, Warningf-s, ...
LevelPanic will report about Panicf-s and Fatalf-s only.
LevelUndefined is the erroneous value of log-level which corresponds to zero-value.
LevelWarning will report about Warningf-s, Errorf-s, ...

# Interfaces

Adapter defines an adapter to convert a logger to Logger.

# Type aliases

Level is used to define severity of messages to be reported.
Logger is the interface of a logger provided by an extended context.
MinimalLogger is the interfaces of a logger without contextual methods.