log

package
v1.6.11 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LogPath is the path where log files are stored.
	LogPath = "/var/log/"
)

Variables

View Source
var (
	CNILogger       = initZapLog(zapCNILogFile)
	IPamLogger      = initZapLog(zapIpamLogFile)
	TelemetryLogger = initZapLog(zapTelemetryLogFile)
)

Functions

func InitializeMock

func InitializeMock()

func JoinPlatformCores added in v1.5.27

func JoinPlatformCores(c zapcore.Core, _ zapcore.Level) (zapcore.Core, error)

Types

type ErrorWithoutStackTrace added in v1.6.5

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

func NewErrorWithoutStackTrace added in v1.6.5

func NewErrorWithoutStackTrace(err error) *ErrorWithoutStackTrace

func (*ErrorWithoutStackTrace) Error added in v1.6.5

func (l *ErrorWithoutStackTrace) Error() string

func (*ErrorWithoutStackTrace) Format added in v1.6.5

func (l *ErrorWithoutStackTrace) Format(s fmt.State, verb rune)

func (*ErrorWithoutStackTrace) Unwrap added in v1.6.5

func (l *ErrorWithoutStackTrace) Unwrap() error

Jump to

Keyboard shortcuts

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