# Functions
Contains indicates if a logger by the given name exists.
Debug logs a message at level Debug on the default logger.
Debugf logs a message at level Debug on the default logger.
DebugObj logs a debug message of a json representation of the provided object.
GetDefault returns the the instance currently set as the default logger.
Error logs a message at level Error on the default logger.
ErrorErr logs an error using the provided message and error if the error is not nil.
ErrorErrf logs an error with a string format using the provided message and error if the error is not nil.
Errorf logs a message at level Error on the default logger.
Fatal logs a message at level Fatal on the default logger.
FatalErr logs a fatal error using the provided message and error if the error is not nil.
FatalErrf logs an fatal error with a string format using the provided message and error if the error is not nil.
Fatalf logs a message at level Fatal on the default logger.
Get returns an instance of the requested logger by its name.
GetLevel returns the default logger level.
Info logs a message at level Info on the default logger.
Infof logs a message at level Info on the default logger.
List returns the list of loggers that have been registered.
No description provided by the author
LogObj logs a debug message of a json representation of the provided object.
No description provided by the author
New creates a new logger instance using the default builder assigned.
NewLogrus creates a new instance of the logrus implementation of ILogger.
NewMemory returns a logger implementation that keeps the logs in memory until flushed.
NewNil creates a new instance of the Nil logger.
No description provided by the author
Panic logs a message at level Panic on the default logger.
PanicErr logs a panic error using the provided message and error if the error is not nil.
PanicErrf logs an panic error with a string format using the provided message and error if the error is not nil.
Panicf logs a message at level Panic on the default logger.
ParseLevel takes a string level and returns the Logrus log level constant.
Register registers an instance of ILogger to be returned as the singleton instance by the given name.
SetDefault sets a logger instance as the default logger.
SetDefaultBuilder assigns the default builder to be used when creating new loggers.
SetFormatter sets a custom formatter to display the logs.
SetLevel sets the default logger level.
Warn logs a message at level Warn on the default logger.
WarnErr logs a warning using the provided message and error if the error is not nil.
WarnErrf logs a warning with a string format using the provided message and error if the error is not nil.
Warnf logs a message at level Warn on the default logger.
# Constants
DebugLevel level.
ErrorLevel level.
FatalLevel level.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InfoLevel level.
LoggerLogrus indicates the name of the predefined logrus ILogger implementation.
LoggerNil indicates the name of the predefined nil ILogger implementation which does nothing when the log functions are invoked.
PanicLevel level, highest level of severity.
No description provided by the author
WarnLevel level.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
BaseFormatter base structure for formatters.
BaseTerminalFormatter base structure to create formatters for a terminal.
Entry represents a log entry.
TextFormatter formats logs into text.
TerminalTheme contains the logging theme configuration for terminal logging.
# Interfaces
The Formatter interface is used to implement a custom Formatter.
ILogger defines the contract for a logger interface to be used by the mgo and mongo packages.
No description provided by the author
# Type aliases
Level type.
LevelColorScheme represents the terminal colors associated to the level parsing for each logging level.
LoggerBuilder defines a logger constructor.
TerminalColorScheme defines terminal colors that are tied to a log level and a field.