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

package syslog

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

Package syslog provides the logdriver for forwarding server logs to syslog endpoints.

Index

Package Files

syslog.go

func New Uses

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

New creates a syslog logger using the configuration passed in on the context. Supported context configuration variables are syslog-address, syslog-facility, syslog-format.

func ValidateLogOpt Uses

func ValidateLogOpt(cfg map[string]string) error

ValidateLogOpt looks for syslog specific log options syslog-address, syslog-facility.

Package syslog imports 15 packages (graph) and is imported by 491 packages. Updated 2019-09-05. Refresh now. Tools for package owners.