Documentation ¶
Index ¶
- Constants
- func Debug(msg ...interface{})
- func DebugEnabled() bool
- func Debugf(msg string, v ...interface{})
- func Error(msg ...interface{})
- func ErrorEnabled() bool
- func Errorf(msg string, v ...interface{})
- func Fatal(msg ...interface{})
- func FatalEnabled() bool
- func Fatalf(msg string, v ...interface{})
- func Info(msg ...interface{})
- func InfoEnabled() bool
- func Infof(msg string, v ...interface{})
- func Print(msg ...interface{})
- func Printf(msg string, v ...interface{})
- func SetLevel(level string)
- func SetOutput(output io.Writer)
- func Warning(msg ...interface{})
- func WarningEnabled() bool
- func Warningf(msg string, v ...interface{})
- type Logger
- func (l *Logger) Debug(msg ...interface{})
- func (l *Logger) DebugEnabled() bool
- func (l *Logger) Debugf(msg string, v ...interface{})
- func (l *Logger) Error(msg ...interface{})
- func (l *Logger) ErrorEnabled() bool
- func (l *Logger) Errorf(msg string, v ...interface{})
- func (l *Logger) Fatal(msg ...interface{})
- func (l *Logger) FatalEnabled() bool
- func (l *Logger) Fatalf(msg string, v ...interface{})
- func (l *Logger) Info(msg ...interface{})
- func (l *Logger) InfoEnabled() bool
- func (l *Logger) Infof(msg string, v ...interface{})
- func (l *Logger) Print(msg ...interface{})
- func (l *Logger) Printf(msg string, v ...interface{})
- func (l *Logger) SetLevel(level string)
- func (l *Logger) SetOutput(output io.Writer)
- func (l *Logger) Warning(msg ...interface{})
- func (l *Logger) WarningEnabled() bool
- func (l *Logger) Warningf(msg string, v ...interface{})
Constants ¶
View Source
const DEBUG = "debug"
View Source
const ERROR = "error"
View Source
const FATAL = "fatal"
View Source
const INFO = "info"
View Source
const WARNING = "warning"
Variables ¶
This section is empty.
Functions ¶
func DebugEnabled ¶
func DebugEnabled() bool
func ErrorEnabled ¶
func ErrorEnabled() bool
func FatalEnabled ¶
func FatalEnabled() bool
func InfoEnabled ¶
func InfoEnabled() bool
func WarningEnabled ¶
func WarningEnabled() bool
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) DebugEnabled ¶
func (*Logger) ErrorEnabled ¶
func (*Logger) FatalEnabled ¶
func (*Logger) InfoEnabled ¶
func (*Logger) WarningEnabled ¶
Click to show internal directories.
Click to hide internal directories.