infologger

package
v0.14.3 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Level     = "level"
	ErrorCode = "errcode"
	Facility  = "facility"
	Role      = "rolename"
	System    = "system"
	Detector  = "detector"
	Partition = "partition"
	Run       = "run"
)

Variables

Functions

This section is empty.

Types

type DirectHook added in v0.12.0

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

func NewDirectHook added in v0.12.0

func NewDirectHook(defaultSystem string, defaultFacility string) (*DirectHook, error)

func (*DirectHook) Fire added in v0.12.0

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

func (*DirectHook) Levels added in v0.12.0

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

Jump to

Keyboard shortcuts

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