Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Formatter ¶
type Formatter struct {
// contains filtered or unexported fields
}
A Formatter implements the logrus.Formatter interface and allows filtering out certain fields.
func NewFormatter ¶
NewFormatter creates a properly configure formatter
type NewRelicLogrusHook ¶
type NewRelicLogrusHook struct { Application newrelic.Application LogLevels []logrus.Level // contains filtered or unexported fields }
func NewNewRelicLogrusHook ¶
func NewNewRelicLogrusHook(app newrelic.Application, levels []logrus.Level) *NewRelicLogrusHook
func (*NewRelicLogrusHook) Levels ¶
func (n *NewRelicLogrusHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.