docker: Index | Files

package syslog

import ""

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


Package Files


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 641 packages. Updated 2021-01-18. Refresh now. Tools for package owners.