syslog

package
v1.10.3-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2016 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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-tag.

func ValidateLogOpt added in v1.8.0

func ValidateLogOpt(cfg map[string]string) error

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL