package
0.0.0-20200715064209-62b9041dabc6
Repository: https://github.com/logicaloverflow/music-sync.git
Documentation: pkg.go.dev

# Functions

GetLogger returns a Logger to log from a given package.
LevelByName retrieves the level with the given name (defaults to LevelOff).

# Constants

DateFormat describes how the date in a log message is formatted.
Format describes how a log message is formatted.
noinspection GoUnusedConst The different log levels.
noinspection GoUnusedConst The different log levels.
noinspection GoUnusedConst The different log levels.
noinspection GoUnusedConst The different log levels.
noinspection GoUnusedConst The different log levels.
noinspection GoUnusedConst The different log levels.
noinspection GoUnusedConst The different log levels.

# Variables

CutoffLevels maps the loggers by name to their cutoff level.
DateProvider returns the formatted date as string, use by the logger.
DefaultCutoffLevel is used as cutoff level for loggers with a name for whom no cutoff level is defined in CutoffLevels.
ErrorWriter is the writer to which Warn/Error/Fatal log messages are written.
LevelNames contains the full and short names of the log levels.
OutputWriter is the writer to which normal log messages are written (level < LevelWarn).

# Structs

LevelName holds the full and short name of a log level.

# Type aliases

Level is a log level.
Logger is a function to log a single message.