logrus

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 21

Documentation

Overview

Package logrus implements a github.com/virtual-kubelet/virtual-kubelet/log.Logger using Logrus as a backend You can use this by creating a logrus logger and calling `FromLogrus(entry)`. If you want this to be the default logger for virtual-kubelet, set `log.L` to the value returned by `FromLogrus`

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromLogrus

func FromLogrus(entry *logrus.Entry) log.Logger

FromLogrus creates a new `log.Logger` from the provided entry

Types

This section is empty.

Jump to

Keyboard shortcuts

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