Documentation ¶ Index ¶ func New(level slog.Leveler) *slog.Logger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(level slog.Leveler) *slog.Logger New returns a new slog.Logger configured appropriately for the environment. It uses a TextHandler if stderr is a terminal, and a JSONHandler otherwise. All logging is directed to os.Stderr to keep stdout clean for MCP stdio transport. Types ¶ This section is empty. Source Files ¶ View all Source files logging.go Click to show internal directories. Click to hide internal directories.