Repository navigation
First release. Crate slog-cli (installs the slog command); Homebrew
bratsche/tap/slog.
Sources
showandstreamfor this Mac via/usr/bin/log --style ndjson;show --archivefor
.logarchivefiles.- iOS devices over usbmuxd (USB, or Wi-Fi via Finder's setting):
stream --device(live,os_trace_relay),show --device(past entries, copied with
os_trace_relayCreateArchive, nosudo; supports--predicate), and
--save-archive PATHto keep that copy for reuse with--archive. deviceslists connected iOS devices.pair: pairs a USB-connected device with slog so--devicereaches it over Wi-Fi
afterwards without Finder's setting (own remote pairing and in-process tunnel).- Booted simulators:
simulatorslists them;show --simulatorandstream --simulator
runloginside one viaxcrun simctl spawn(--predicatesupported). reports list|show [--device]: crash, hang and diagnostic reports from the Mac or a
device, with a compact crash summary (--fullfor the original file).
Querying and output
- Console-style
--filtercompiled to NSPredicate forshowand Macstream, evaluated
in-process forstream --device; raw--predicatepassthrough. - Compact text and
--jsonoutput,--fields,--info,--debug. showbounded by default (--last 5m,--limit 1000, newest kept) with stderr notes on
truncation and empty results.
Tooling
skill install --user|--project [--force]andskill print: the Claude skill for slog,
embedded in the binary.- Ctrl-C, SIGTERM and SIGHUP clean up temp archives and child processes, then slog dies by
the signal; signals ignored by the parent (nohup) stay ignored. - Packaging (
slog-cli, MSRV 1.89, macOS only), README, LICENSE; CI on macOS with smoke
runs against the runner's unified log.
Fixes found in review along the way are listed in BUG_REFERENCE.md.