Documentation ¶
Overview ¶
Package logger contains interfaces to deal with loggers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { // AddStaticData is used to add static data to the logs. // static data will be added to all logs AddStaticData(msg string, args ...interface{}) // Errorf is used to log an error with formating Errorf(msg string, args ...interface{}) // Error is used to log an error Error(msg string) // Close closes the connection to BasicLogger Close() error }
Logger is an interface used for all loggers
Directories ¶
Path | Synopsis |
---|---|
Package implementations contains helpers to help implementing a logger
|
Package implementations contains helpers to help implementing a logger |
mocklogger
Package mocklogger is a generated GoMock package.
|
Package mocklogger is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.