Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHookToLogger ¶
Types ¶
type LogErrField ¶
type LogErrField struct {
Err string `json:"error"`
}
func NewErrorField ¶
func NewErrorField(e error) LogErrField
type Logger ¶
type Logger logrus.FieldLogger
Logger is a logger that can
var Discard Logger
Discard is a logger that has all of the same functionality as an ordinary logger, but discards all logging output. Useful for testing.
Click to show internal directories.
Click to hide internal directories.