Streaming Logs
Run with Log Streaming
The easiest way to stream logs is to use the--log flag when running:
Stream Logs from Running App
If your app is already running, use theapps and logs commands:
Using OSLog in Your Code
FlowDeck captures logs from Apple’s unified logging system (OSLog):Log Levels
| Level | Description |
|---|---|
debug | Detailed debugging information |
info | General informational messages |
warning | Warning conditions |
error | Error conditions |
fault | Critical errors |
Log Output
Logs are displayed with color-coded output based on log level:Stopping Log Streaming
PressCtrl+C to stop streaming logs.
Stopping Running Apps
Stop an app that was launched by FlowDeck:Limitations
Simulator Only
Due to Apple platform restrictions, FlowDeck can only stream logs from:- iOS Simulators
- macOS apps (when running directly)
For Physical Devices
Use macOS Console.app:- Open Console.app
- Select your device from the sidebar
- Filter by your app’s process name or bundle identifier
Tips
Debug-level logs may not appear in Release builds. Use Info level or higher for logs you always want to see.
Troubleshooting
No Logs Appearing
- Ensure your app uses
os.logorLoggerAPIs (not justprint()) - Verify the app is running on a simulator
- Check that the debug session started successfully
Too Many Logs
FlowDeck automatically filters to your app’s process. If you’re still seeing too many logs:- Use more specific subsystem/category names
- Reduce debug-level logging in your code
Logs Not Updating
If logs stop appearing:- Check that the app is still running:
flowdeck apps - Restart log streaming:
flowdeck logs <app-id>
