hypercli: github.com/hyperhq/hypercli/daemon/logger/gelf Index | Files

package gelf

import "github.com/hyperhq/hypercli/daemon/logger/gelf"

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


Package Files


func New Uses

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 Uses

func ValidateLogOpt(cfg map[string]string) error

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

Package gelf imports 10 packages (graph) and is imported by 4 packages. Updated 2016-11-02. Refresh now. Tools for package owners.