sharpemu
sharpemu copied to clipboard
[logging] Migrate HLE diagnostics to SharpEmuLog
Summary
- Route
ModuleManagerdispatch diagnostics through theHLElogger. - Route Aerolib resource loading status and failures through the
Aeroliblogger. - Preserve appropriate warning, info, and error levels.
- Include the original exception when Aerolib loading fails.
- Update project references and lockfiles for the internal logging dependency.
Why
These diagnostics were written directly to stderr, bypassing the configured SharpEmu log sinks and file logging. This migration makes HLE and Aerolib messages consistent with the rest of the structured logging infrastructure.
Validation
dotnet restore SharpEmu.slnx --locked-modedotnet build SharpEmu.slnx -c Release --no-restore- 0 warnings
- 0 errors
dotnet publish src/SharpEmu.CLI/SharpEmu.CLI.csproj -c Release -r win-x64 --self-contained true --no-restorereuse lint