package gelf

import "github.com/docker/docker/daemon/logger/gelf"

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

Index

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.

Source Files

gelf.go

Version
v1.11.0-rc2
Published
Mar 25, 2016
Platform
linux/amd64
Imports
13 packages
Last checked
37 minutes ago

Tools for package owners.