package gelf
import "github.com/dotcloud/docker/daemon/logger/gelf"
Package gelf provides the log driver for forwarding server logs to endpoints that support the Graylog Extended Log Format.
Index ¶
- func New(ctx logger.Context) (logger.Logger, error)
- func ValidateLogOpt(cfg map[string]string) error
Functions ¶
func New ¶
New creates a gelf logger using the configuration passed in on the context. The supported context configuration variable is gelf-address.
func ValidateLogOpt ¶
ValidateLogOpt looks for gelf specific log option gelf-address.
Source Files ¶
- Version
- v1.13.0
- Published
- Jan 17, 2017
- Platform
- linux/amd64
- Imports
- 13 packages
- Last checked
- 3 minutes ago –
Tools for package owners.