Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func Panic(args ...interface{})
- func Panicf(format string, args ...interface{})
- func SetLevel(level Level) bool
- func SetLogger(newlogger Logger)
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- type BaseLog
- func (log *BaseLog) Debug(args ...interface{})
- func (log *BaseLog) Debugf(format string, args ...interface{})
- func (log *BaseLog) Error(args ...interface{})
- func (log *BaseLog) Errorf(format string, args ...interface{})
- func (log *BaseLog) Fatal(args ...interface{})
- func (log *BaseLog) Fatalf(format string, args ...interface{})
- func (log *BaseLog) Info(args ...interface{})
- func (log *BaseLog) Infof(format string, args ...interface{})
- func (log *BaseLog) Panic(args ...interface{})
- func (log *BaseLog) Panicf(format string, args ...interface{})
- func (log *BaseLog) SetLevel(level Level) bool
- func (log *BaseLog) Warn(args ...interface{})
- func (log *BaseLog) Warnf(format string, args ...interface{})
- func (log *BaseLog) With(fields ...interface{}) Logger
- type Level
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { Debug(args ...interface{}) Debugf(format string, args ...interface{}) Info(args ...interface{}) Infof(format string, args ...interface{}) Warn(args ...interface{}) Warnf(format string, args ...interface{}) Error(args ...interface{}) Errorf(format string, args ...interface{}) Fatal(args ...interface{}) Fatalf(format string, args ...interface{}) Panic(args ...interface{}) Panicf(format string, args ...interface{}) With(fields ...interface{}) Logger SetLevel(level Level) bool }
Click to show internal directories.
Click to hide internal directories.