log

package
v0.0.0-...-c34bea4 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 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