package gelf

import "github.com/docker/cli/components/engine/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(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

func ValidateLogOpt(cfg map[string]string) error

ValidateLogOpt looks for gelf specific log option gelf-address.

Source Files

gelf.go

Version
v17.12.1-ce-rc1+incompatible
Published
Feb 13, 2018
Platform
js/wasm
Imports
12 packages
Last checked
16 seconds ago

Tools for package owners.