log

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package log contains helper functions for structured logging

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WarnLogOnError

func WarnLogOnError(logger *slog.Logger, err error, message string)

WarnLogOnError inspects the error type and extracts additional information for structured logging if possible

Types

This section is empty.

Jump to

Keyboard shortcuts

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