Help us shape the future of Go! Take the 2026 Go Developer Survey

log

package
v1.7.21 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 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

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

Types

type ErrorWithoutStackTrace

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

func NewErrorWithoutStackTrace

func NewErrorWithoutStackTrace(err error) *ErrorWithoutStackTrace

func (*ErrorWithoutStackTrace) Error

func (l *ErrorWithoutStackTrace) Error() string

func (*ErrorWithoutStackTrace) Format

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

func (*ErrorWithoutStackTrace) Unwrap

func (l *ErrorWithoutStackTrace) Unwrap() error

Jump to

Keyboard shortcuts

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