# Functions
NewFactory returns a new instance of a Factory producing loggers configured with the values set in the [config] parameter.
NewMockLogger creates a new mock instance.
NewMockRotatingWriter creates a new mock instance.
No description provided by the author
No description provided by the author
No description provided by the author
ToHighlight chooses a highlighting mode.
Inverse of Level.String().
# Constants
Colors.
Colors.
Colors.
Highlighting modes available.
Colors.
Colors.
No description provided by the author
No description provided by the author
No description provided by the author
Colors.
No description provided by the author
Colors.
Colors.
Colors.
Colors.
Colors.
Colors.
No description provided by the author
Colors.
Highlighting modes available.
Colors.
Colors.
Colors.
Colors.
No description provided by the author
No description provided by the author
No description provided by the author
Colors.
Colors.
# Variables
DefaultConfig provides a reasonable default logger configuration.
DefaultLogDirectory is the default directory where logs are saved.
# Structs
Config defines the configuration of a logger.
No description provided by the author
MockLogger is a mock of Logger interface.
MockLoggerMockRecorder is the mock recorder for MockLogger.
MockRotatingWriter is a mock of RotatingWriter interface.
MockRotatingWriterMockRecorder is the mock recorder for MockRotatingWriter.
No description provided by the author
NoIOWriter is a mock Writer that does not write to any underlying source.
No description provided by the author
RoutineID can print the current goroutine ID.
Stacktrace can print the current stacktrace.
# Interfaces
Factory creates new instances of different types of Logger.
Logger defines the interface that is used to keep a record of all events that happen to the program.
RotatingWriter allows for rotating a stream writer.