What's the advantage of Log.Message over using harmony.DEBUG = true? Very buggy transpilers will cause a non-functional game which doesn't even allow Log.Message to go through, whereas harmony.DEBUG always gets info.
Topic on Talk:Modding Tutorials/Transpiler Hints
Jump to navigation
Jump to search
Reply to "Logging hint"
As some ppl say here in the south, harmony.what now?
I'm not familiar with what harmony.DEBUG does is the advantage - there's no documentation for it as far as I've found so I wasn't aware it was an option.
I have no objections to a better version, as long as the page describes what the effect is - does it log to the debug window? Does it write out to some file somewhere?
https://rimworldwiki.com/wiki/Modding_Tutorials/Harmony#Doesn.27t_seem_to_get_patched.3F Template:Br
HarmonyInstance harmony = HarmonyInstance.Create(id: "mehni.rimworld.MFI.main");
HarmonyInstance.DEBUG = true;