Back to godoc.org
github.com/docker/docker / daemon / logger / syslog

package syslog

v1.13.1
Latest Go to latest
Published: Feb 8, 2017 | License: Apache-2.0 | Module: github.com/docker/docker

Overview

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

Index

func New

func New(ctx logger.Context) (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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier