stdout

package
v0.0.0-...-8910f3d Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

README

Stdout forwarder

This forwarder simply prints all logs to stdout which is mainly for debug purpose. The output could be viewed in CloudWatch Logs.

Configuration

Env variable Default Value Description
LS_STDOUT_ENABLE false Enable the stdout forwarder

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stdout

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

func New

func New() *Stdout

func (*Stdout) Init

func (s *Stdout) Init(params forwardservice.ForwarderParams)

func (*Stdout) IsEnable

func (s *Stdout) IsEnable() bool

func (*Stdout) SendLog

func (s *Stdout) SendLog(logs []logservice.Log)

func (*Stdout) SetupConfigs

func (s *Stdout) SetupConfigs(app *kingpin.Application)

func (*Stdout) Shutdown

func (s *Stdout) Shutdown()

Jump to

Keyboard shortcuts

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