sloghuman

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: MIT Imports: 8 Imported by: 47

Documentation

Overview

Package sloghuman contains the slogger that writes logs in a human readable format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sink added in v1.4.0

func Sink(w io.Writer) slog.Sink

Sink creates a slog.Sink that writes logs in a human readable YAML like format to the given writer.

If the writer implements Sync() error then it will be called when syncing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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