# Functions
AddHooks adds additional logrus hook to default logger.
CanLogAt returns whether a log message at the given level would be logged by the given logger.
GetFormatter returns a configured logrus.Formatter with some specific values we want to have.
GetLevel returns the log level of the given logger.
MultiLine breaks a multi line text into individual log entries and calls the logging function to log each entry.
NewLimiter returns a new Limiter allowing log messages to be emitted on average once every 'interval' and upto 'burst' messages during any 'interval'.
SetDefaultLogFormat updates the DefaultLogger with the DefaultLogFormat.
SetDefaultLogLevel updates the DefaultLogger with the DefaultLogLevel.
SetLogFormat updates the DefaultLogger with a new LogFormat.
SetLogLevel updates the DefaultLogger with a new logrus.Level.
SetLogLevelToDebug updates the DefaultLogger with the logrus.DebugLevel.
SetupLogging sets up each logging service provided in loggers and configures each logger with the provided logOpts.
# Constants
DefaultLogFormat is the string representation of the default logrus.Formatter we want to use (possible values: text or json).
DefaultLogFormatTimestamp is the string representation of the default logrus.Formatter including timestamps.
DefaultLogLevel is the default log level we want to use for our logrus.Formatter.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
DefaultLogger is the base logrus logger.
Default slog logger.
SlogNopHandler discards all logs.
# Structs
Limiter is a wrapper around rate.Limiter that does not panic when the limiter is uninitialized.
# Type aliases
No description provided by the author
LogOptions maps configuration key-value pairs related to logging.