gelf

package
v1.4.2-0...-5f156d8 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package gelf provides the log driver for forwarding server logs to endpoints that support the Graylog Extended Log Format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx logger.Context) (logger.Logger, error)

New creates a gelf logger using the configuration passed in on the context. Supported context configuration variables are gelf-address, & gelf-tag.

func ValidateLogOpt

func ValidateLogOpt(cfg map[string]string) error

ValidateLogOpt looks for gelf specific log options gelf-address, & gelf-tag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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