infologger

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: GPL-3.0 Imports: 12 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Level     = "level"
	ErrorCode = "errcode"
	Facility  = "facility"
	Role      = "rolename"
	System    = "system"
	Detector  = "detector"
	Partition = "partition"
	Run       = "run"
)
View Source
const (
	IL_Ops     = 1
	IL_Support = 6
	IL_Devel   = 11
	IL_Trace   = 21
)
View Source
const INFOLOGGER_MAX_MESSAGE_SIZE = 1024

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 NewDirectHookWithRole added in v0.17.0

func NewDirectHookWithRole(defaultSystem string, defaultFacility string, defaultRole 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