Documentation ¶
Index ¶
- Variables
- type DefaultLogger
- func (l *DefaultLogger) Debug(format string, a ...interface{})
- func (l *DefaultLogger) Error(format string, a ...interface{})
- func (l *DefaultLogger) Info(format string, a ...interface{})
- func (l *DefaultLogger) IsLevelEnabled(level core.LogLevel) bool
- func (l *DefaultLogger) Log(level core.LogLevel, format string, a ...interface{})
- func (l *DefaultLogger) Nested(name string) core.Logger
- func (l *DefaultLogger) Printf(format string, a ...interface{})
- func (l *DefaultLogger) Warn(format string, a ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var Global core.Logger
Functions ¶
This section is empty.
Types ¶
type DefaultLogger ¶ added in v0.12.0
type DefaultLogger struct {
// contains filtered or unexported fields
}
func NewDefaultLogger ¶ added in v0.12.0
func (*DefaultLogger) Debug ¶ added in v0.12.0
func (l *DefaultLogger) Debug(format string, a ...interface{})
func (*DefaultLogger) Error ¶ added in v0.12.0
func (l *DefaultLogger) Error(format string, a ...interface{})
func (*DefaultLogger) Info ¶ added in v0.12.0
func (l *DefaultLogger) Info(format string, a ...interface{})
func (*DefaultLogger) IsLevelEnabled ¶ added in v0.12.0
func (l *DefaultLogger) IsLevelEnabled(level core.LogLevel) bool
func (*DefaultLogger) Log ¶ added in v0.12.0
func (l *DefaultLogger) Log(level core.LogLevel, format string, a ...interface{})
func (*DefaultLogger) Nested ¶ added in v0.12.0
func (l *DefaultLogger) Nested(name string) core.Logger
bind two writer to logger
func (*DefaultLogger) Printf ¶ added in v0.12.0
func (l *DefaultLogger) Printf(format string, a ...interface{})
func (*DefaultLogger) Warn ¶ added in v0.12.0
func (l *DefaultLogger) Warn(format string, a ...interface{})
Click to show internal directories.
Click to hide internal directories.