slogutil

package
v0.64.11 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttrsFromAny added in v0.64.11

func AttrsFromAny(args ...any) []slog.Attr

func LogOrNot

func LogOrNot(ctx context.Context, logger *slog.Logger, level slog.Level, msg string, attrs ...slog.Attr)

func LogOrNotAny added in v0.64.11

func LogOrNotAny(ctx context.Context, logger *slog.Logger, level slog.Level, msg string, args ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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