Documentation ¶
Overview ¶
package metalog implements a logging interface that's similar to logrus but doesn't actually depends on the logrus package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Debug(args ...interface{}) Info(args ...interface{}) Error(args ...interface{}) Fatal(args ...interface{}) WithField(string, interface{}) Logger WithFields(map[string]interface{}) Logger }
Logger is a logging interface that allows to write to the 4 most common levels and to add fields to the logger
Directories ¶
Path | Synopsis |
---|---|
Package logrus is a thin wrapper around logrus, providing a way to instantiate it with formatter and
|
Package logrus is a thin wrapper around logrus, providing a way to instantiate it with formatter and |
Click to show internal directories.
Click to hide internal directories.