Documentation
¶
Overview ¶
Package log provides a simple pluggable logging interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { Tracef(msg string, args ...any) Debugf(msg string, args ...any) Infof(msg string, args ...any) Warnf(msg string, args ...any) Errorf(msg string, args ...any) }
Logger interface should be implemented by the logging library you wish to use
var Log Logger
Log can be assigned a proper logger, such as logrus configured to your liking.
type StdLog ¶
type StdLog struct {
Logger
}
StdLog is a simplistic logger for rig
Click to show internal directories.
Click to hide internal directories.