Help us shape the future of Go! Take the 2026 Go Developer Survey

log

package
v3.4.12 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const (
	JsonFormat = "json" //nolint:revive //FIXME(var-naming)
	TextFormat = "text"
)

Variables

This section is empty.

Functions

func CreateFormatter

func CreateFormatter(logFormat string) logrus.Formatter

CreateFormatter create logrus formatter by string

func NewLogrusLogger

func NewLogrusLogger(fieldLogger logrus.FieldLogger) logr.Logger

func NewWithCurrentConfig

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