Skip to main content

Module log_transport

Module log_transport 

Source

Functions§

use_pretty_output
Pretty-printed to an interactive TTY, structured JSON otherwise (containers/CI) — mirrors targets::typescript’s log-transport.ts TTY-detection logic. Checks stderr, not stdout: that’s where logs are actually written (see logger::init_logging), since stdout is reserved for the MCP stdio transport’s JSON-RPC frames.