Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Level string
Format string `default:"text"`
//Formatter field is used if you need a custom formatter
Formatter logrus.Formatter
}
Config is the configuration
type JSONFormatter ¶
type JSONFormatter struct {
logrus.JSONFormatter
}
JSONFormatter is a logrus.JSONFormatter but with ability to decode stacktraces from github.com/pkg/errors
Click to show internal directories.
Click to hide internal directories.