log

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseLogger

func CloseLogger()

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 SetDevelopmentLogger

func SetDevelopmentLogger(outputPaths ...string)

SetDevelopmentLogger set current logger in development mode.

func SetProductionLogger

func SetProductionLogger(outputPaths ...string)

SetProductionLogger set current logger in production mode.

Types

This section is empty.

Jump to

Keyboard shortcuts

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