package
0.0.0-20220516142628-310556015c0c
Repository: https://github.com/dids/rustbot.git
Documentation: pkg.go.dev

# Functions

DefaultOptions returns an instance of Options with the default values applied.
GetLogger returns the shared Logger instance.
NewLogger creates and returns the shared Logger instance.

# Constants

DefaultLogFile is the default filename of the log file.
DefaultLogLevel is the default minimum log level to log.
Error log level, only errors.
Info log level, logs info and above (Info, Warning, Error).
Trace log level, logs everything (Trace, Info, Warning, Error).
Warning log level, logs warning and above (Warning, Error).

# Structs

Logger is a flexible and configurable logging solution.
Options are used for customizing the Logger instance.

# Type aliases

LogLevel sets the importance of a single log message.