log

package
v0.0.0-...-f375033 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: BSD-3-Clause Imports: 27 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LenientFormat

type LenientFormat struct{}

func (*LenientFormat) GetParser

func (f *LenientFormat) GetParser(line []byte) format.LogParser

func (*LenientFormat) GetSplitFunc

func (f *LenientFormat) GetSplitFunc() bufio.SplitFunc

type LenientParser

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

func (*LenientParser) Dump

func (p *LenientParser) Dump() format.LogParts

func (*LenientParser) Location

func (p *LenientParser) Location(*time.Location)

func (*LenientParser) Parse

func (p *LenientParser) Parse() error

type LogForwarder

type LogForwarder struct {
	BindAddress     string
	DockerEndpoint  string
	EnabledBackends []string
	// contains filtered or unexported fields
}

func (*LogForwarder) Handle

func (l *LogForwarder) Handle(logParts format.LogParts, _ int64, err error)

func (*LogForwarder) Start

func (l *LogForwarder) Start() (err error)

func (*LogForwarder) Stop

func (l *LogForwarder) Stop()

func (*LogForwarder) Wait

func (l *LogForwarder) Wait()

type LogMessage

type LogMessage interface{}

Jump to

Keyboard shortcuts

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