Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
Init initializes the logger with the specified level and format Third-party library logs are only shown when level is DEBUG Color support is enabled automatically for terminal output format: "simple" (level + message only), "verbose" (time + level + message + attributes),
or any custom value (falls back to default slog.TextHandler format)
func OpenLogFile ¶
OpenLogFile opens or creates a log file at the specified path Returns the file handle and a cleanup function, or an error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.