log

package
v2.7.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 7 Imported by: 5

Documentation

Index

Constants

View Source
const (
	JsonFormat = "json"
	TextFormat = "text"
)

Variables

This section is empty.

Functions

func CreateFormatter added in v2.1.0

func CreateFormatter(logFormat string) logrus.Formatter

CreateFormatter create logrus formatter by string

func NewLogrusLogger

func NewLogrusLogger(fieldLogger logrus.FieldLogger) logr.Logger

func NewWithCurrentConfig added in v2.1.0

func NewWithCurrentConfig() *logrus.Logger

NewWithCurrentConfig create logrus logger by using current configuration

Types

This section is empty.

Jump to

Keyboard shortcuts

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