fluentd

package
v0.0.0-...-268ac03 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdapter

func NewAdapter(route *router.Route) (router.LogAdapter, error)

NewAdapter creates a Logspout fluentd adapter instance.

Types

type Adapter

type Adapter struct {
	// contains filtered or unexported fields
}

Adapter is an adapter for streaming JSON to a fluentd collector.

func (*Adapter) Stream

func (ad *Adapter) Stream(logstream chan *router.Message)

Stream handles a stream of messages from Logspout. Implements router.logAdapter.

Jump to

Keyboard shortcuts

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