logger

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLoggerLevel

func GetLoggerLevel(loggerName string) (logrus.Level, error)

func GetLoggerNames

func GetLoggerNames() []string

func NewFileLogger

func NewFileLogger(pkgSubsys string) *logrus.Entry

NewFileLogger don't output log to stdout

func NewLoggerScope

func NewLoggerScope(scope string) *logrus.Entry

NewLoggerScope allocates a new log entry for a specific scope.

func SetLoggerLevel

func SetLoggerLevel(loggerName string, level logrus.Level) error

func StartRingBufReader

func StartRingBufReader(ctx context.Context, mode string, bpfFsPath string) error

print bpf log in daemon process

Types

type LogEvent

type LogEvent struct {
	Msg string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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