log

package
v1.4.1-0...-415649e Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogPrivacyAttrKey = []string{
	"password",
	"token",
	"secretkey",
	"accesskey",
}

Functions

func ContextLogID

func ContextLogID(ctx context.Context, id string) context.Context

func Init

func Init()

func NewTraceHandler

func NewTraceHandler(w io.Writer, addSource bool, lvl slog.Leveler) slog.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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