docker: github.com/docker/docker/daemon/logger/gelf Index | Files

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

Package Files

gelf.go

func New Uses

func New(info logger.Info) (logger.Logger, error)

New creates a gelf logger using the configuration passed in on the context. The supported context configuration variable is gelf-address.

func ValidateLogOpt Uses

func ValidateLogOpt(cfg map[string]string) error

ValidateLogOpt looks for gelf specific log option gelf-address.

Package gelf imports 12 packages (graph) and is imported by 537 packages. Updated 2019-12-01. Refresh now. Tools for package owners.