log

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 4 Imported by: 2

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