logger

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Context

func Context() logrus.FieldLogger

func DebugLogger

func DebugLogger() logrus.FieldLogger

func ExternalError

func ExternalError(err error, msg string) error

func IsFieldLogger

func IsFieldLogger() bool

func LogEntries

func LogEntries() []*logrus.Entry

func SetFieldLogger

func SetFieldLogger()

func SetJsonLogging

func SetJsonLogging()

func StdOut

func StdOut() *os.File

Types

type Collector

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

func (*Collector) Fire

func (collector *Collector) Fire(entry *logrus.Entry) error

func (*Collector) Levels

func (collector *Collector) Levels() []logrus.Level

Jump to

Keyboard shortcuts

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