Documentation ¶
Index ¶
- type Interface
- type Logger
- func (l *Logger) Debug(message interface{}, args ...interface{})
- func (l *Logger) Error(message interface{}, args ...interface{})
- func (l *Logger) Fatal(message interface{}, args ...interface{})
- func (l *Logger) Info(message string, args ...interface{})
- func (l *Logger) Warn(message string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Debug(message interface{}, args ...interface{}) Info(message string, args ...interface{}) Warn(message string, args ...interface{}) Error(message interface{}, args ...interface{}) Fatal(message interface{}, args ...interface{}) }
Interface - Logger interface
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger - Structure for logger, used zerolog for logging
func (*Logger) Debug ¶
func (l *Logger) Debug(message interface{}, args ...interface{})
Debug - Debug log
func (*Logger) Error ¶
func (l *Logger) Error(message interface{}, args ...interface{})
Error - Error log
func (*Logger) Fatal ¶
func (l *Logger) Fatal(message interface{}, args ...interface{})
Fatal - Fatal error log
Click to show internal directories.
Click to hide internal directories.