Documentation
¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func SetLogger(l Logger) error
- func Warning(args ...interface{})
- func Warningf(format string, args ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(args ...interface{})
Debug logs to the DEBUG log. Arguments are handled in the manner of fmt.Print.
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf logs to the DEBUG log. Arguments are handled in the manner of fmt.Printf.
func Error ¶
func Error(args ...interface{})
Error logs to the ERROR log. Arguments are handled in the manner of fmt.Print.
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf logs to the ERROR log. Arguments are handled in the manner of fmt.Printf.
func Info ¶
func Info(args ...interface{})
Info logs to the INFO log. Arguments are handled in the manner of fmt.Print.
func Infof ¶
func Infof(format string, args ...interface{})
Infof logs to the INFO log. Arguments are handled in the manner of fmt.Printf.
Types ¶
type Logger ¶
type Logger interface { Debug(args ...interface{}) Debugf(format string, args ...interface{}) Info(args ...interface{}) Infof(format string, args ...interface{}) Warning(args ...interface{}) Warningf(format string, args ...interface{}) Error(args ...interface{}) Errorf(format string, args ...interface{}) }
Logger is the logger interface
Click to show internal directories.
Click to hide internal directories.