package syslog

import "github.com/docker/cli/components/engine/daemon/logger/syslog"

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

Index

Functions

func New

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

func ValidateLogOpt(cfg map[string]string) error

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

Source Files

syslog.go

Version
v17.11.0-ce+incompatible
Published
Nov 20, 2017
Platform
windows/amd64
Imports
15 packages
Last checked
1 minute ago

Tools for package owners.