log

package
v0.4.15 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlags added in v0.4.13

func AddFlags(flagSet *pflag.FlagSet)

func CloseLogger

func CloseLogger()

func GetErrorHandler added in v0.4.9

func GetErrorHandler() otel.ErrorHandler

func Logger

func Logger() *zap.Logger

Logger get current logger

func RedactDBURL

func RedactDBURL(rawURL string) string

func ResponseLogger

func ResponseLogger(resp *restful.Response) *zap.Logger

func SetLogger added in v0.4.13

func SetLogger(flagSet *pflag.FlagSet, debug bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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