{"repo":"mergesort/Broadcast","free":true,"listed":false,"github":"https://github.com/mergesort/Broadcast","clone":"git clone https://github.com/mergesort/Broadcast.git","description":"Simple and composable logging for Swift apps, servers, and coding agents.","language":"Swift","stars":50,"topics":["agents","ai","logging","swift"],"license":"MIT","category":"ai-agents","readme_excerpt":"Broadcast Simple and composable logging for Swift apps, servers, and coding agents. Broadcast is a structured logging library for Swift apps and servers that feels as lightweight as print , but gives every log enough structure to help you solve real production issues. Broadcast turns simple logs like log.info(\"Started app\") into a trail of actions and state that can be sent to your console, saved to support logs, or optimized for coding agents. --- Broadcast is already running in production in Plinky, where it's helped Codex track down bugs and race conditions I'd been chasing for over a year. By handing an agent thousands of structured logs you take the guesswork out of debugging. Instead your coding agent can trace through and debug problems on its own, with far less help from you. By integrating Broadcast from day one you'll give coding agents the feedback loop they need while they work, leading to fewer bugs and less time reviewing slop. Table of Contents - Getting Started - Structured Logs - Destinations - Formatting - Documentation - Coding Agent Plugins - Requirements - Installation - Feedback & Contribution Getting Started Broadcast starts with one type: Log . A Log owns one or more destinations, so every call to log.debug , log.info , log.error , etc. is sent to each destination. That's it. You now have one API that writes to the console and keeps an in-memory support log you can export later. [!TIP] I recommend creating one global let log for your app or package so ","default_branch":null,"files":null,"tree":[],"storefront":"/r/mergesort","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mergesort/Broadcast/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}