log

package
v1.57.6 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 6 Imported by: 145

Documentation

Index

Constants

View Source
const (
	FallbackLogFormat       = "text"
	FallbackTimeFieldFormat = time.RFC3339
)

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

func Debugf

func Debugf(format string, args ...interface{})

func Error

func Error(args ...interface{})

func Errorf

func Errorf(format string, args ...interface{})

func Fatal added in v1.27.0

func Fatal(args ...interface{})

func Fatalf added in v1.27.0

func Fatalf(format string, args ...interface{})

func Info

func Info(args ...interface{})

func Infof

func Infof(format string, args ...interface{})

func InitializeLogger added in v1.27.0

func InitializeLogger() zerolog.Logger

Configures the global log level and log format.

func IsDebug

func IsDebug() bool

func IsTrace

func IsTrace() bool

func Trace

func Trace(args ...interface{})

func Tracef

func Tracef(format string, args ...interface{})

func Warning

func Warning(args ...interface{})

func Warningf

func Warningf(format string, args ...interface{})

Types

type Format added in v1.27.0

type Format string

Jump to

Keyboard shortcuts

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