util

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2018 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewElasticHook

func NewElasticHook(endPt, index, pipeline string) log.Hook

Types

type ElasticHook

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

func (*ElasticHook) Fire

func (eh *ElasticHook) Fire(entry *log.Entry) error

func (*ElasticHook) Levels

func (eh *ElasticHook) Levels() []log.Level

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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