log

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package log provides a central logging package that wraps MetalLB's logging.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	*logrus.Entry
}

Logger wraps the logrus package so that it can conform to the Logger from MetalLB.

func (*Logger) Log

func (l *Logger) Log(args ...interface{}) error

Log logs messages from the MetalLB code. The messages are noisy and therefore only logged when Cilium is running with debug enabled.

Jump to

Keyboard shortcuts

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