This is a maintenance release to fix regressions in logging after v5.1 changes.
Changelog
- Major change: Unity output logs are now redirected to game root folder by default whenever possible on Windows
- NOTE: If you do not need this setting, set
redirectOutputLog=false
indoorstop_config.ini
- NOTE: If you do not need this setting, set
- Disk log is now opened with write access, allowing you to use external log aggregators (or simple
tail
) more easily - New config setting:
[Preloader].HarmonyBackend
- Allows to set which method generation backend to use for MonoMod. Allows to essentially debug methods patched with Harmony easily.
- Added
Console
prefix for log messages that are generated to the console- NOTE: Use of
Console.Write*
methods is not recommended for logging! Use BepInEx logging capabilities instead.
- NOTE: Use of
- Fixes
- Fix preloader logger not respecting log levels set by
[Logging.Console].LogLevels
- Fix console crash on Unity 4 because of issues with
Console.OutputEncoding
- Fix console messages output with
Console.Write*
calls not being output to Unity log if BepInEx console was enabled - Fix BepInEx messages being duplicated in Unity log
- Fix some errors happening in preloader not generating a preloader log
- Fix regression where warning messages were not written by default
- NOTE You should reset your
LogLevels
config options (or the whole config) if you are upgrading from 5.1
- NOTE You should reset your
- Fix certain crashing on Unity 3 and 4 games if they shipped with minimal Mono installation
- Fix preloader logger not respecting log levels set by