The highest tagged major version is
v2.
package
Version:
v0.3.1
Opens a new window with list of versions in this module.
Published: Jan 28, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 6
Opens a new window with list of known importers.
Documentation
¶
func Debugf(t string, args ...interface{})
Debugf logs a debug level log message
func Errorf(t string, args ...interface{})
Errorf logs an error level log message
func Infof(t string, args ...interface{})
Infof logs an info level log message
type Logger interface {
Debugf(string, ...interface{})
Infof(string, ...interface{})
Errorf(string, ...interface{})
}
Logger interface should be implemented by the logging library you wish to use
Log can be assigned a proper logger, such as logrus configured to your liking.
StdLog is a simplistic logger for rig
Debugf prints a debug level log message
Errorf prints an error level log message
Infof prints an info level log message
Source Files
¶
Click to show internal directories.
Click to hide internal directories.