Documentation
¶
Overview ¶
Package logging configures the application's structured logger.
All logs go to stderr: stdout is reserved for command output and for the MCP stdio transport, which would break if logs were interleaved with it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseLevel ¶
ParseLevel converts a level name to an slog.Level. "off"/"silent"/"none" disable logging entirely.
func Transport ¶
func Transport(base http.RoundTripper) http.RoundTripper
Transport wraps an http.RoundTripper to log every request/response at debug level (and failures at error level). Pass nil to wrap http.DefaultTransport.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.