log

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LokiFromConfigLine

func LokiFromConfigLine(
	ctx context.Context, fallbackLogger logrus.FieldLogger, line string, ch chan<- struct{},
) (logrus.Hook, error)

LokiFromConfigLine returns a new logrus.Hook that pushes logrus.Entrys to loki and is configured through the provided line

Types

This section is empty.

Jump to

Keyboard shortcuts

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