logger

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// HookOutputEnabled writes hook output into logs if true
	HookOutputEnabled = false
	// RequestOutputEnabled writes HTTP request into logs if true
	RequestOutputEnabled = false
)

Functions

func Configure added in v1.17.1

func Configure(format, level string)

Configure logger

func LogIf added in v1.17.1

func LogIf(condition bool, level slog.Level, msg string, args ...any)

LogIf writ log on condition

Types

This section is empty.

Jump to

Keyboard shortcuts

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