package syslog
import "github.com/dotcloud/docker/daemon/logger/syslog"
Package syslog provides the logdriver for forwarding server logs to syslog endpoints.
Index ¶
- func New(ctx logger.Context) (logger.Logger, error)
- func ValidateLogOpt(cfg map[string]string) error
Functions ¶
func New ¶
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 ¶
ValidateLogOpt looks for syslog specific log options syslog-address, syslog-facility.
Source Files ¶
- Version
- v1.13.0-rc7
- Published
- Jan 12, 2017
- Platform
- js/wasm
- Imports
- 15 packages
- Last checked
- 1 minute ago –
Tools for package owners.