Documentation ¶
Index ¶
- Constants
- type GLogger
- type LevelLogger
- func (self *LevelLogger) Debugf(f string, args ...interface{})
- func (self *LevelLogger) Errorf(f string, args ...interface{})
- func (self *LevelLogger) Infof(f string, args ...interface{})
- func (self *LevelLogger) Level() int32
- func (self *LevelLogger) LogDebugf(f string, args ...interface{})
- func (self *LevelLogger) LogErrorf(f string, args ...interface{})
- func (self *LevelLogger) LogWarningf(f string, args ...interface{})
- func (self *LevelLogger) Logf(f string, args ...interface{})
- func (self *LevelLogger) SetLevel(l int32)
- func (self *LevelLogger) Warningf(f string, args ...interface{})
- func (self *LevelLogger) Warningln(f string)
- type Logger
- type SimpleLogger
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GLogger ¶
type GLogger struct { }
type LevelLogger ¶
type LevelLogger struct { Logger Logger // contains filtered or unexported fields }
func NewLevelLogger ¶
func NewLevelLogger(level int32, l Logger) *LevelLogger
func (*LevelLogger) Debugf ¶
func (self *LevelLogger) Debugf(f string, args ...interface{})
func (*LevelLogger) Errorf ¶
func (self *LevelLogger) Errorf(f string, args ...interface{})
func (*LevelLogger) Infof ¶
func (self *LevelLogger) Infof(f string, args ...interface{})
func (*LevelLogger) Level ¶
func (self *LevelLogger) Level() int32
func (*LevelLogger) LogDebugf ¶
func (self *LevelLogger) LogDebugf(f string, args ...interface{})
func (*LevelLogger) LogErrorf ¶
func (self *LevelLogger) LogErrorf(f string, args ...interface{})
func (*LevelLogger) LogWarningf ¶
func (self *LevelLogger) LogWarningf(f string, args ...interface{})
func (*LevelLogger) Logf ¶
func (self *LevelLogger) Logf(f string, args ...interface{})
func (*LevelLogger) SetLevel ¶
func (self *LevelLogger) SetLevel(l int32)
func (*LevelLogger) Warningf ¶
func (self *LevelLogger) Warningf(f string, args ...interface{})
func (*LevelLogger) Warningln ¶
func (self *LevelLogger) Warningln(f string)
type Logger ¶
type SimpleLogger ¶
type SimpleLogger struct {
// contains filtered or unexported fields
}
func NewSimpleLog ¶
func NewSimpleLog() *SimpleLogger
func (*SimpleLogger) Output ¶
func (self *SimpleLogger) Output(maxdepth int, s string) error
func (*SimpleLogger) OutputErr ¶
func (self *SimpleLogger) OutputErr(maxdepth int, s string) error
func (*SimpleLogger) OutputWarning ¶
func (self *SimpleLogger) OutputWarning(maxdepth int, s string) error
Click to show internal directories.
Click to hide internal directories.