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 ¶
View Source
var Fields = map[string]bool{ Level: true, ErrorCode: true, Facility: true, Role: true, System: true, Detector: true, Partition: true, Run: true, }
View Source
var (
Pid string
)
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 NewDirectHookWithRole ¶ added in v0.17.0
func (*DirectHook) Levels ¶ added in v0.12.0
func (h *DirectHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.