logger

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogScope

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

func NewLogger

func NewLogger(options *ScopeOptions) *LogScope

func (*LogScope) GetLogEntries

func (ls *LogScope) GetLogEntries() []*logrus.Entry

func (*LogScope) GetLogEntriesSince

func (ls *LogScope) GetLogEntriesSince(since int64) []*logrus.Entry

func (*LogScope) GetLogger

func (ls *LogScope) GetLogger() *logrus.Logger

type ScopeOptions

type ScopeOptions struct {
	Parent      logrus.FieldLogger
	HistorySize uint64
}

Jump to

Keyboard shortcuts

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