Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SeverityMap = map[string]string{
"panic": "fatal",
"fatal": "fatal",
"warning": "warn",
"debug": "debug",
"error": "error",
"trace": "trace",
"info": "info",
}
Default logrus to FluentD severity map
Functions ¶
Types ¶
type FluentdFormatter ¶
FluentdFormatter is similar to logrus.JSONFormatter but with log level that are recongnized by kubernetes fluentd.
Click to show internal directories.
Click to hide internal directories.