package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: May 15, 2018
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package log provides a logger. The logger currently wraps sirupsen/logrus's
Logger but it could be easily replaced.
Level represents a logging level
type Logger interface {
Error(...interface{})
Errorf(string, ...interface{})
Warning(...interface{})
Warningf(string, ...interface{})
Info(...interface{})
Infof(string, ...interface{})
PrefixLogger(string) Logger
SetLevel(Level)
}
Logger is used to log error, warning and info messages
Source Files
¶
Click to show internal directories.
Click to hide internal directories.