logutil

package
v0.0.0-...-711f2e8 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package logutil defines basic logging utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Err

func Err(err error) slog.Attr

Err produces a log/slog.Attr for errors.

func ErrKey

func ErrKey() string

ErrKey produces the key used when logging errors.

func SetErrKey

func SetErrKey(key string)

SetErrKey overrides the default key used when logging errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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