OutpostUniverse / op2ext

Outpost 2 extension module loader
1 stars 0 forks source link

Remove conditional compile check for debug logging #284

Closed DanRStevens closed 4 years ago

DanRStevens commented 4 years ago

Logging to an attached debugger should be allowed under any build configuration.

This is something I wanted to change for ages, but wanted to keep it separate from other changes.

DanRStevens commented 4 years ago

Yeah, the code is barely outputting anything. As for where it goes, there's a hook point for an attached debugger. This is how OllyDbg or Visual Studio are able to capture those messages. If no debugger is attached, the messages are discarded by the OS.