Documentation ¶
Index ¶
- func Debugf(format string, args ...interface{})
- func Debugln(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Errorln(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Fatalln(args ...interface{})
- func Infof(format string, args ...interface{})
- func Infoln(args ...interface{})
- func Panicf(format string, args ...interface{})
- func Panicln(args ...interface{})
- func SetLevel(level Level)
- func SetOut(out io.Writer)
- func Tracef(format string, args ...interface{})
- func Traceln(args ...interface{})
- func Warnf(format string, args ...interface{})
- func Warnln(args ...interface{})
- type Level
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf logs a message at level Debug on the standard logger.
func Debugln ¶
func Debugln(args ...interface{})
Debugln logs a message at level Debug on the standard logger.
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf logs a message at level Error on the standard logger.
func Errorln ¶
func Errorln(args ...interface{})
Errorln logs a message at level Error on the standard logger.
func Fatalf ¶
func Fatalf(format string, args ...interface{})
Fatalf logs a message at level Fatal on the standard logger.
func Fatalln ¶
func Fatalln(args ...interface{})
Fatalln logs a message at level Fatal on the standard logger.
func Infof ¶
func Infof(format string, args ...interface{})
Infof logs a message at level Info on the standard logger.
func Infoln ¶
func Infoln(args ...interface{})
Infoln logs a message at level Info on the standard logger.
func Panicf ¶
func Panicf(format string, args ...interface{})
Panicf logs a message at level Fatal on the standard logger.
func Panicln ¶
func Panicln(args ...interface{})
Panicln logs a message at level Fatal on the standard logger.
func Tracef ¶
func Tracef(format string, args ...interface{})
Tracef logs a message at level Debug on the standard logger.
func Traceln ¶
func Traceln(args ...interface{})
Traceln logs a message at level Debug on the standard logger.
Types ¶
type Logger ¶
type Logger interface { SetLevel(level Level) SetOut(out io.Writer) Traceln(...interface{}) Tracef(string, ...interface{}) Debugln(...interface{}) Debugf(string, ...interface{}) Infoln(...interface{}) Infof(string, ...interface{}) Warnln(...interface{}) Warnf(string, ...interface{}) Errorln(...interface{}) Errorf(string, ...interface{}) Fatalln(...interface{}) Fatalf(string, ...interface{}) Panicln(v ...interface{}) Panicf(format string, v ...interface{}) }
Logger is an interface that describes logging.