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

package fluentd

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

Package fluentd provides the log driver for forwarding server logs to fluentd endpoints.

Index

Package Files

fluentd.go

func New Uses

func New(ctx logger.Context) (logger.Logger, error)

New creates a fluentd logger using the configuration passed in on the context. Supported context configuration variables are fluentd-address & fluentd-tag.

func ValidateLogOpt Uses

func ValidateLogOpt(cfg map[string]string) error

ValidateLogOpt looks for fluentd specific log options fluentd-address & fluentd-tag.

Package fluentd imports 9 packages (graph) and is imported by 4 packages. Updated 2018-01-26. Refresh now. Tools for package owners.