// SQL Server - master/msdb/sandbox combined catalog MCP server — generated by mcpify. Do not hand-edit.
use IsTerminal;
use logs_to_stdout;
/// Pretty-printed to an interactive TTY, structured JSON otherwise
/// (containers/CI) — mirrors `targets::typescript`'s `log-transport.ts`
/// TTY-detection logic. Checks whichever stream logs actually land on (see
/// `logger::init_logging`): stderr in stdio mode, since stdout is reserved
/// for the MCP stdio transport's JSON-RPC frames, or stdout in HTTP mode.