package
Version:
v0.5.1
Opens a new window with list of versions in this module.
Published: Feb 9, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package log configures structured logging for stringer using log/slog.
func Setup(verbose, quiet bool)
Setup configures the default slog logger based on verbosity flags.
- quiet mode: only WARN and ERROR messages
- normal mode: INFO and above
- verbose mode: DEBUG and above
Output is written to stderr using slog.TextHandler.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.