Documentation
¶
Overview ¶
Package logger provides structured logging helpers for pgxcli.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
Logger wraps slog.Logger and the underlying file for proper cleanup.
func InitLogger ¶
InitLogger creates a new structured logger with the specified debug level. It writes to a file (creating parent directories if needed) and returns a Logger wrapper for proper resource management.
Click to show internal directories.
Click to hide internal directories.