infologger

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Level     = "Level"
	ErrorCode = "ErrorCode"
	Facility  = "Facility"
	Role      = "Role"
	System    = "System"
	Detector  = "Detector"
	Partition = "Partition"
	Run       = "Run"
)

Variables

Functions

This section is empty.

Types

type Hook

type Hook struct {
	// contains filtered or unexported fields
}

func NewHook

func NewHook(defaultSystem string, defaultFacility string) (*Hook, error)

func (*Hook) Fire

func (h *Hook) Fire(e *logrus.Entry) error

func (*Hook) Levels

func (h *Hook) Levels() []logrus.Level

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL