package
0.0.0-20250226191533-3760a16f1f4f
Repository: https://github.com/bmeg/grip.git
Documentation: pkg.go.dev
# Functions
ConfigureLogger configures the global and local logrus logger.
Debug log message.
Debugf log message.
Debugln log message.
DefaultLoggerConfig returns a Logger instance with default values.
Error log message.
Errorf log message.
Errorln log message.
GetLogger returns the configured logger instance.
Info log message.
Infof log message.
Infoln log message.
Sub is a shortcut for log.WithFields(log.Fields{"namespace": ns}), it creates a new logger which inherits the parent's configuration but changes the namespace.
Warning log message.
Warningf log message.
Warningln log message.
WithField creates an entry from the standard logger and adds a field to it.
WithFields creates an entry from the standard logger and adds multiple fields to it.
# 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
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
JSONFormatConfig provides configuration for the JSON logger format.
Logger provides configuration for a logger.
TextFormatConfig provides configuration for the text logger format.