Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SyslogFacilityPriority map[string]syslog.Priority
Functions ¶
func NewSyslogHook ¶
func NewSyslogHook(priority string, tag string) (*lSyslog.SyslogHook, error)
Types ¶
type ContextHook ¶
type ContextHook struct{}
ContextHook storing nothing but behavior
func (ContextHook) Fire ¶
func (hook ContextHook) Fire(entry *logrus.Entry) error
Fire the log entry
func (ContextHook) Levels ¶
func (hook ContextHook) Levels() []logrus.Level
Levels returns all log levels
Click to show internal directories.
Click to hide internal directories.