Documentation ¶
Index ¶
- type Logger
- func (l *Logger) Debug(msg string, tags map[string]interface{})
- func (l *Logger) Error(msg string, err error, tags map[string]interface{})
- func (l *Logger) Info(msg string, tags map[string]interface{})
- func (l *Logger) Trace(msg string, tags map[string]interface{})
- func (l *Logger) Warn(msg string, tags map[string]interface{})
- type LoggerInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerInterface ¶
type LoggerInterface interface { Info(msg string, tags map[string]interface{}) Warn(msg string, tags map[string]interface{}) Error(msg string, err error, tags map[string]interface{}) Debug(msg string, tags map[string]interface{}) Trace(msg string, tags map[string]interface{}) }
func NewLogger ¶
func NewLogger(level string) LoggerInterface
Click to show internal directories.
Click to hide internal directories.