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) Levels ¶ added in v0.12.0
func (h *DirectHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.