Documentation ¶
Index ¶
- Constants
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(err error, args ...interface{})
- func Errorf(err error, format string, args ...interface{})
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func IsDebug() bool
- func IsError() bool
- func IsInfo() bool
- func IsTrace() bool
- func IsWarn() bool
- func SetLevel(level int)
- func Trace(args ...interface{})
- func Tracef(format string, args ...interface{})
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- type Logger
- func (logger *Logger) Debug(args ...interface{})
- func (logger *Logger) Debugf(format string, args ...interface{})
- func (logger *Logger) Error(err error, args ...interface{})
- func (logger *Logger) Errorf(err error, format string, args ...interface{})
- func (logger *Logger) Info(args ...interface{})
- func (logger *Logger) Infof(format string, args ...interface{})
- func (logger *Logger) IsDebug() bool
- func (logger *Logger) IsError() bool
- func (logger *Logger) IsInfo() bool
- func (logger *Logger) IsTrace() bool
- func (logger *Logger) IsWarn() bool
- func (logger *Logger) SetLevel(level int)
- func (logger *Logger) Trace(args ...interface{})
- func (logger *Logger) Tracef(format string, args ...interface{})
- func (logger *Logger) Warn(args ...interface{})
- func (logger *Logger) Warnf(format string, args ...interface{})
Constants ¶
View Source
const ( ERROR = iota WARN INFO DEBUG TRACE )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.