hypercli: github.com/hyperhq/hypercli/daemon/logger/syslog Index | Files

package syslog

import "github.com/hyperhq/hypercli/daemon/logger/syslog"

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


Package Files


func New Uses

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 Uses

func ValidateLogOpt(cfg map[string]string) error

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

Package syslog imports 15 packages (graph) and is imported by 4 packages. Updated 2017-12-03. Refresh now. Tools for package owners.