Package Usage: go: cdr.dev/slog
Package slog implements minimal structured logging.
See https://cdr.dev/slog for overview docs and a comparison with existing libraries.
The examples are the best way to understand how to use this library effectively.
The Logger type implements a high level API around the Sink interface.
Logger implements Sink as well to allow composition.
Implementations of the Sink interface are available in the sloggers subdirectory.
20 versions
Latest release: almost 2 years ago
103 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/cdr.dev/slog