slog

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(err error) slog.Attr

Error returns an Attr for an error.

func MapVerbosityToLogLevel

func MapVerbosityToLogLevel(v int) slog.Level

func Uint16

func Uint16(key string, v uint16) slog.Attr

Uint16 converts an uint16 to an uint64 and returns an Attr with that value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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