slogx

package
v0.0.0-...-19f3900 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discard

func Discard() slog.Handler

Discard() is adapted from https://go-review.googlesource.com/c/go/+/547956. Hopefully it will eventually land into stable and we'll be able to remove this.

func DiscardLogger

func DiscardLogger() *slog.Logger

func Err

func Err(err error) slog.Attr

func IsDiscard

func IsDiscard(l *slog.Logger) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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