eventlog

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

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
}

func New

func New(name string) (*EventlogHook, error)

func (*EventlogHook) Fire

func (h *EventlogHook) Fire(entry *logrus.Entry) error

func (*EventlogHook) Levels

func (h *EventlogHook) Levels() []logrus.Level

Levels returns the available logging levels.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL