Documentation
¶
Overview ¶
Package logger configures structured logging (log/slog) and prints the startup banner.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseLevel ¶
ParseLevel converts a level name; unknown names mean info.
func Setup ¶
Setup builds a logger from the logging configuration and installs it as the slog default. The returned closer releases the log file, if any.
func StartupMessage ¶
func StartupMessage()
StartupMessage prints a stylized startup banner with the application version.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.