Documentation
¶
Index ¶
- type Logger
- type Logrus
- func (l *Logrus) Debug(args ...interface{})
- func (l *Logrus) Debugf(format string, args ...interface{})
- func (l *Logrus) Fatal(args ...interface{})
- func (l *Logrus) Info(args ...interface{})
- func (l *Logrus) InfoWithFields(msg string, fields map[string]interface{})
- func (l *Logrus) Infof(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Info(args ...interface{}) Infof(format string, args ...interface{}) InfoWithFields(msg string, fields map[string]interface{}) Debug(args ...interface{}) Debugf(format string, args ...interface{}) Fatal(args ...interface{}) }
Logger is the interface that wraps the basic logging methods.
type Logrus ¶
type Logrus struct {
// contains filtered or unexported fields
}
Logrus is the implementation for a Logger using Logrus.
func (*Logrus) Debug ¶
func (l *Logrus) Debug(args ...interface{})
Debug logging a new message with debug level.
func (*Logrus) Fatal ¶
func (l *Logrus) Fatal(args ...interface{})
Fatal logging a new message with fatal level.
func (*Logrus) Info ¶
func (l *Logrus) Info(args ...interface{})
Info logging a new message with info level.
func (*Logrus) InfoWithFields ¶
InfoWithFields logging a new message with info level and extra fields.
Click to show internal directories.
Click to hide internal directories.