Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ILogger ¶
type ILogger interface { Debug(msg string, args map[string]interface{}) Info(msg string, args map[string]interface{}) Warn(msg string, args map[string]interface{}) Error(msg string, args map[string]interface{}) }
ILogger interface allows you to use a custom logger. Since the `loggers` pkg does not expose an interface for a logger (and there is no "accepted" interface), we roll our own and supplement it with some helpers/shims for common logging libraries such as `logrus`. See [DOC.md(DOCS.md#Logging).
Click to show internal directories.
Click to hide internal directories.