Every os_log line of the Metal bundle went to OS_LOG_DEFAULT, which has no
subsystem, so no `log config` mode could keep its debug lines: on macOS
26.7.2 the system mode persists none, `log config --process PID` refused
the pid, and a debug stream dropped every line under load (26.7.2, 12.7.6).
The resource-wait counter ("RGFX: resource waits so far", RgfxResource.mm)
could not be read there.
The bundle's os_log lines now go to one os_log object, made once a process
with os_log_create on the subsystem ai.aneesiqbal.reims-graphics, the
bundle's CFBundleIdentifier, and the category "bundle" (RgfxLog.hpp),
defined outside ARC so nothing releases it. In the guest each line keeps
its text and level and now carries that subsystem, so `log config
--subsystem ai.aneesiqbal.reims-graphics` sets the level its lines are kept
and persisted at, on every release. Reads that match a line's message see
the same lines. Its NSLog lines, at the default level the log store keeps,
are as they were.
tests/bundle_log_check.sh, in `make test`, keeps the bundle off
OS_LOG_DEFAULT (no _os_log_default import), its log object linked rather
than left to -undefined dynamic_lookup, and the subsystem equal to
Info.plist's identifier.