Address cpp:S5008 with borrowed stream session pointers, typed logger
writers, native module and function handles, and C callback adapters.
Preserve the native NVAPI resolver ABI and library ownership. Cover
move-only log builders, real loader failure paths, and resolver results.
Address cpp:S995 across packet readers, shared service handles, platform
metadata, and callbacks without changing native callback signatures.
Preserve POSIX process-group initialization and make formatted log
writes explicit. Cover empty and embedded-null formatted messages.
Replace Boost logging calls with Sunshine text, format, and lazy builder functions to address cpp:S6996 at the shared source. Keep Boost private to the backend and provide independently owned synchronous or asynchronous sinks for future outputs.
Add API, filtering, delivery, ownership, failure, periodic formatting, and external callback tests. Validate with the native build, 53 focused logging tests, Clang syntax checks, Linux syntax checks, and strict Doxygen. The broader native run has only the existing licensed HID broker failure.