Documentation ¶
Index ¶
- Constants
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func GenerateFmtStr(n int) string
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func LogLevel(logLevel string) string
- func SetJack(lfn string, maxsize int)
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- type Logger
- func (ll *Logger) Debug(format string, v ...interface{})
- func (ll *Logger) Error(format string, v ...interface{})
- func (ll *Logger) GetLevel() string
- func (ll *Logger) Info(format string, v ...interface{})
- func (ll *Logger) SetFlag(flag int)
- func (ll *Logger) SetJack(lfn string, maxsize int)
- func (ll *Logger) SetLevel(l int) int
- func (ll *Logger) SetPrefix(prefix string)
- func (ll *Logger) Stats() (int, int)
- func (ll *Logger) Warn(format string, v ...interface{})
Constants ¶
View Source
const ( LevelError = iota LevelWarning LevelInformational LevelDebug )
LevelError ...
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.