slogx

package
v0.0.0-...-7319542 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fatal

func Fatal(msg string, err error)

func NewHandler

func NewHandler(w io.Writer, format, level string, addSource bool) slog.Handler

NewHandler returns slog.Handler corresponding to given format (text or json), slog.TextHandler will be returned on invalid format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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