log

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FieldSource = "source"
)

Variables

This section is empty.

Functions

func ConfigureLogger

func ConfigureLogger() *logrus.Entry

func Logger

func Logger() *logrus.Entry

Logger returns the global base logger instance.

func SetLogger

func SetLogger(entry *logrus.Entry)

SetLogger overwrites the global logger base instance with the given value.

func StdWriters

func StdWriters(log *logrus.Entry, cmd string) (out, err io.Writer)

StdWriters constructs a pair of log writers that pass command output through to the standard logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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