Documentation ¶
Index ¶
- func Debug(format string, args ...interface{})
- func DebugWith(meta MetaFields, format string, args ...interface{})
- func Error(format string, args ...interface{})
- func ErrorWith(meta MetaFields, format string, args ...interface{})
- func Info(format string, args ...interface{})
- func InfoWith(meta MetaFields, format string, args ...interface{})
- func Warning(format string, args ...interface{})
- func WarningWith(meta MetaFields, format string, args ...interface{})
- type Logger
- type Meta
- type MetaFields
- type NoOpLogger
- func (l *NoOpLogger) Debug(format string, args ...interface{})
- func (l *NoOpLogger) DebugWith(meta MetaFields, format string, args ...interface{})
- func (l *NoOpLogger) Error(format string, args ...interface{})
- func (l *NoOpLogger) ErrorWith(meta MetaFields, format string, args ...interface{})
- func (l *NoOpLogger) Get(name string) Logger
- func (l *NoOpLogger) Info(format string, args ...interface{})
- func (l *NoOpLogger) InfoWith(meta MetaFields, format string, args ...interface{})
- func (l *NoOpLogger) Warning(format string, args ...interface{})
- func (l *NoOpLogger) WarningWith(meta MetaFields, format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugWith ¶
func DebugWith(meta MetaFields, format string, args ...interface{})
func ErrorWith ¶
func ErrorWith(meta MetaFields, format string, args ...interface{})
func InfoWith ¶
func InfoWith(meta MetaFields, format string, args ...interface{})
func WarningWith ¶
func WarningWith(meta MetaFields, format string, args ...interface{})
Types ¶
type Logger ¶
type Logger interface { Debug(format string, args ...interface{}) DebugWith(meta MetaFields, format string, args ...interface{}) Info(format string, args ...interface{}) InfoWith(meta MetaFields, format string, args ...interface{}) Warning(format string, args ...interface{}) WarningWith(meta MetaFields, format string, args ...interface{}) Error(format string, args ...interface{}) ErrorWith(meta MetaFields, format string, args ...interface{}) Get(name string) Logger }
type MetaFields ¶
type MetaFields []*Meta
type NoOpLogger ¶
type NoOpLogger struct { }
func (*NoOpLogger) Debug ¶
func (l *NoOpLogger) Debug(format string, args ...interface{})
func (*NoOpLogger) DebugWith ¶
func (l *NoOpLogger) DebugWith(meta MetaFields, format string, args ...interface{})
func (*NoOpLogger) Error ¶
func (l *NoOpLogger) Error(format string, args ...interface{})
func (*NoOpLogger) ErrorWith ¶
func (l *NoOpLogger) ErrorWith(meta MetaFields, format string, args ...interface{})
func (*NoOpLogger) Get ¶
func (l *NoOpLogger) Get(name string) Logger
func (*NoOpLogger) Info ¶
func (l *NoOpLogger) Info(format string, args ...interface{})
func (*NoOpLogger) InfoWith ¶
func (l *NoOpLogger) InfoWith(meta MetaFields, format string, args ...interface{})
func (*NoOpLogger) Warning ¶
func (l *NoOpLogger) Warning(format string, args ...interface{})
func (*NoOpLogger) WarningWith ¶
func (l *NoOpLogger) WarningWith(meta MetaFields, format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.