# Functions
CloseLogger is called on shutdown of application.
Debug takes a pointer SubLogger struct and string sends to multiWriter.
Debugf takes a pointer SubLogger struct, string & interface formats and sends to Info().
Debugln takes a pointer SubLogger struct, string and interface sends to newLogEvent.
Error takes a pointer SubLogger struct & interface formats and sends to newLogEvent().
Errorf takes a pointer SubLogger struct, string & interface formats and sends to Debug().
Errorln takes a pointer SubLogger struct, string & interface formats and sends to newLogEvent().
Fatal wrapper around standard log.Fatal.
Fatalf wrapper around standard log.Fatalf.
Fatalln wrapper around standard log.Fatallln.
Info takes a pointer SubLogger struct and string sends to newLogEvent.
Infof takes a pointer SubLogger struct, string & interface formats and sends to Info().
Infoln takes a pointer SubLogger struct and interface sends to newLogEvent.
No description provided by the author
Level retries the current sub logger levels.
NewConfig returns a pointer to a Config struct with default settings.
NewSubLogger allows for a new sub logger to be registered.
SetLevel sets sub logger levels.
SetupGlobalLogger set up the global loggers with the default global config values.
SetupSubLoggers configure all sub loggers with provided configuration values.
Warn takes a pointer SubLogger struct & string and sends to newLogEvent().
Warnf takes a pointer SubLogger struct, string & interface formats and sends to Warn().
Warnln takes a pointer SubLogger struct & interface formats and sends to newLogEvent().
# Constants
DefaultMaxFileSize for logger rotation file.
# Variables
No description provided by the author
ErrSubLoggerAlreadyRegistered Returned when a sub logger is registered multiple times.
FileLoggingConfiguredCorrectly flag set during config check if file logging meets requirements.
FilePath system path to store log files in.
Global SubLoggers.
GlobalLogConfig holds global configuration options for logger.
GlobalLogFile hold global configuration options for file logger.
RWM read/write mutex for logger.
SubLoggers map of global SubLoggers.
No description provided by the author
# Structs
Config holds configuration settings loaded from bot config.
Levels flags for each sub logger type.
Logger represents a single Logger instance with settings.
No description provided by the author
Rotate struct for each instance of Rotate.
SubLogger defines a sub logger that can be used externally.
SubLoggerConfig holds sub logger configuration settings loaded from bot config.