graylog

package
v0.0.0-...-e138ca2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 License: MIT Imports: 2 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraylogHook

type GraylogHook struct {
	// contains filtered or unexported fields
}

GraylogHook hook for graylog

func NewGraylogHook

func NewGraylogHook(url string) (GraylogHook, error)

NewGraylogHook return new hook

func (GraylogHook) Close

func (h GraylogHook) Close()

Close close graylog client

func (GraylogHook) Run

func (h GraylogHook) Run(e *zerolog.Event, level zerolog.Level, message string)

Run run hook when having a log event

Jump to

Keyboard shortcuts

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