log

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger added in v1.30.0

type Logger struct {
	ZapLogger *zap.Logger
	// contains filtered or unexported fields
}

func InitLogger

func InitLogger() *Logger

func (*Logger) Update added in v1.39.1

func (l *Logger) Update(format string, level zapcore.Level)

Update the logger with a new format and level. Replaces the underlying zap.Logger with a new one. Not safe for concurrent use.

Jump to

Keyboard shortcuts

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