Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(fmt string, args ...interface{})
- func Enable(level types.Level) bool
- func Error(args ...interface{})
- func Errorf(fmt string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(fmt string, args ...interface{})
- func GetConstructor(name string) types.LoggerConstructor
- func GetLevel() types.Level
- func GetLogger(name string) types.Logger
- func GetRaw() interface{}
- func Info(args ...interface{})
- func Infof(fmt string, args ...interface{})
- func RegisterConstructor(name string, f types.LoggerConstructor)
- func SetLevel(level types.Level)
- func SetLogger(logger types.Logger)
- func Warn(args ...interface{})
- func Warnf(fmt string, args ...interface{})
- type StdLogger
- func (l *StdLogger) Debug(args ...interface{})
- func (l *StdLogger) Debugf(format string, args ...interface{})
- func (l *StdLogger) Enable(level types.Level) bool
- func (l *StdLogger) Error(args ...interface{})
- func (l *StdLogger) Errorf(format string, args ...interface{})
- func (l *StdLogger) Fatal(args ...interface{})
- func (l *StdLogger) Fatalf(format string, args ...interface{})
- func (l *StdLogger) GetLevel() types.Level
- func (l *StdLogger) GetRaw() interface{}
- func (l *StdLogger) Info(args ...interface{})
- func (l *StdLogger) Infof(format string, args ...interface{})
- func (l *StdLogger) SetLevel(level types.Level)
- func (l *StdLogger) Warn(args ...interface{})
- func (l *StdLogger) Warnf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConstructor ¶ added in v0.1.1
func GetConstructor(name string) types.LoggerConstructor
func RegisterConstructor ¶ added in v0.1.1
func RegisterConstructor(name string, f types.LoggerConstructor)
Types ¶
Click to show internal directories.
Click to hide internal directories.