cnilogging

package
v0.0.0-...-3af840d Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg string, args ...interface{})

Debug provides structured logging for log level >= debug.

func Error

func Error(msg string, args ...interface{})

Error provides structured logging for log level >= error.

func Info

func Info(msg string, args ...interface{})

Info provides structured logging for log level >= info.

func Init

func Init(logLevel, logFile, containerIdentification, networkNamespace, interfaceName string)

Init initializes logging with the requested parameters in this order: log level, log file, container ID, network namespace and interface name.

func Panic

func Panic(msg string, args ...interface{})

Panic provides structured logging for log level >= panic.

func Warning

func Warning(msg string, args ...interface{})

Warning provides structured logging for log level >= warning.

Types

This section is empty.

Jump to

Keyboard shortcuts

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