Documentation ¶
Rendered for windows/amd64
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventLogHook ¶
type EventLogHook struct {
// contains filtered or unexported fields
}
EventLogHook to send logs via windows log.
func NewHook ¶
func NewHook(logger *eventlog.Log) *EventLogHook
NewHook creates and returns a new EventLogHook wrapped around anything that implements the debug.Log interface
func (*EventLogHook) Levels ¶
func (hook *EventLogHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.