# Functions
Close finalizes the logging system.
Debug emits a debug message.
Error emits an error message.
os.Exit(0) on Fatal messages.
os.Exit(1) on Fatal messages.
Fatal emits a fatal error message and calls the log.OnFatal callback.
Important emits an important informative message.
Info emits an informative message.
LevelColor returns the color of a verbosity level or "" if effects are disabled.
LevelName returns the name of a verbosity level.
Do nothing on Fatal messages.
Open initializes the logging system.
Raw emits a message without format to the logs.
Warning emits a warning message.
# Variables
A custom callback to execute for every log message.
DateFormat is the default date format being used when filling the {date} log token.
DateTimeFormat is the default date and time format being used when filling the {datetime} log token.
Effects is a map of the tokens that can be used in Format to change the properties of the text.
Format is the default format being used when logging.
Level represents the current verbosity level of the logging system.
LevelColors is a map of the colors ( {level:color} ) of each verbosity level.
LevelNames is a map of the names ( {level:name} ) of each verbosity level.
NoEffects disables all effects and colors if set to true.
OnFatal represents the callback/action to execute on Fatal messages.
Output represents the log output file path if filled or, if empty, stdout.
TimeFormat is the default time format being used when filling the {time} or {datetime} log tokens.
Tokens is a map of the tokens that can be used in Format to insert values returned by the execution of a callback.
# Type aliases
FatalPolicy represents a callback to be executed on Fatal messages.
No description provided by the author
Verbosity represents the verbosity level of the logger.