package
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: Jan 19, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package logging provides structured logging for the chotko application.
It uses Go's log/slog package for structured, leveled logging.
Logger is the global application logger.
Debug logs a debug message.
Error logs an error message.
Info logs an info message.
Init initializes the global logger with the given configuration.
Warn logs a warning message.
With returns a logger with additional context.
Config holds logging configuration.
DefaultConfig returns the default logging configuration.
Logs to stderr at Info level in text format.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.