logger

package
v0.2.50 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSplitLogger

func NewSplitLogger(stdOut io.Writer, errOut io.Writer) *logrus.Logger

Types

type LogrusSink

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

func NewLogrusSink

func NewLogrusSink(logger *logrus.Logger) *LogrusSink

func (*LogrusSink) Log

func (l *LogrusSink) Log(payload lager.LogFormat)

type OutputSplitter

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

See this, once merged, this can go away https://github.com/sirupsen/logrus/pull/671

func NewOutputSplitter

func NewOutputSplitter(stdOut io.Writer, stdErr io.Writer) *OutputSplitter

func (*OutputSplitter) Write

func (splitter *OutputSplitter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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