Documentation
¶
Index ¶
- Constants
- func Debug(i ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(i ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(i ...interface{})
- func Fatalf(format string, args ...interface{})
- func Info(i ...interface{})
- func Infof(format string, args ...interface{})
- func Print(i ...interface{})
- func Printf(format string, args ...interface{})
- func SetLevel(v Level)
- func SetOutput(w io.Writer)
- func SetPrefix(p string)
- func Warn(i ...interface{})
- func Warnf(format string, args ...interface{})
- type Level
- type Logger
- func (l *Logger) Debug(i ...interface{})
- func (l *Logger) Debugf(format string, args ...interface{})
- func (l *Logger) Error(i ...interface{})
- func (l *Logger) Errorf(format string, args ...interface{})
- func (l *Logger) Fatal(i ...interface{})
- func (l *Logger) Fatalf(format string, args ...interface{})
- func (l *Logger) Info(i ...interface{})
- func (l *Logger) Infof(format string, args ...interface{})
- func (l *Logger) Level() Level
- func (l *Logger) Print(i ...interface{})
- func (l *Logger) Printf(format string, args ...interface{})
- func (l *Logger) SetLevel(v Level)
- func (l *Logger) SetOutput(w io.Writer)
- func (l *Logger) SetPrefix(p string)
- func (l *Logger) Warn(i ...interface{})
- func (l *Logger) Warnf(format string, args ...interface{})
Constants ¶
View Source
const ( DEBUG = iota INFO WARN ERROR FATAL OFF )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.