Documentation
¶
Index ¶
- type Level
- type Logger
- func (l *Logger) Debug(msg string, args ...interface{})
- func (l *Logger) Error(msg string, err error, args ...interface{})
- func (l *Logger) Fatal(msg string, err error, args ...interface{})
- func (l *Logger) Info(msg string, args ...interface{})
- func (l *Logger) IsDebugEnabled() bool
- func (l *Logger) Warn(msg string, args ...interface{})
- func (l *Logger) WithOperation(operationID string) LoggerInterface
- type LoggerInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) IsDebugEnabled ¶ added in v0.1.2
func (*Logger) WithOperation ¶
func (l *Logger) WithOperation(operationID string) LoggerInterface
type LoggerInterface ¶
type LoggerInterface interface {
Debug(msg string, args ...interface{})
Info(msg string, args ...interface{})
Warn(msg string, args ...interface{})
Error(msg string, err error, args ...interface{})
Fatal(msg string, err error, args ...interface{})
WithOperation(operationID string) LoggerInterface
IsDebugEnabled() bool
}
Click to show internal directories.
Click to hide internal directories.