slog

command
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

README

Slog

This example shows that go-app also configures slog and it is fully functional.

Run the example with:

go run ./examples/slog/ -app-log-human

You can change the log level and see the INFO messages are not printed anymore.

go run ./examples/slog/ -app-log-human -app-log-level=warn

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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