logrus

package
v0.0.0-...-8fd29ad Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package logrus implements a github.com/kok-stack/native-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