logr

package
v0.0.0-...-44dad58 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(logFile string, disableStacktrace bool) (logr.Logger, error)

NewLogger creates a new logr.Logger based on the zap.Logger. If the 'logFile' is not empty, log to stderr and the 'logFile', otherwise, log to the stderr only. stacktrace indicates whether manager will disable the stacktrace

Types

This section is empty.

Jump to

Keyboard shortcuts

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