Descent3 icon indicating copy to clipboard operation
Descent3 copied to clipboard

Enable console logging

Open JeodC opened this issue 1 year ago • 3 comments

Per Kevin Bentley, it may be wise to modify cmake to do -DCMAKE_BUILD_TYPE=debug or -DLOGGER. Log output to the console for better linux/mac troubleshooting. Perhaps provide instructions to the user in an issue template on how to utilize it.

JeodC avatar Apr 22 '24 23:04 JeodC

logging was removed in #77 because the mprintf_at macro wasn't expanding to Debug_ConsolePrintf(int n, int row, int col, char *format, ...) and causing a segfault. #159 reenables the option, renames the function to Debug_ConsolePrintfAt and adds the LOGGER define as well.

jcoby avatar Apr 23 '24 12:04 jcoby

Perhaps this issue may be considered as solved?

winterheart avatar Apr 23 '24 19:04 winterheart

Perhaps this issue may be considered as solved?

That's what I'm wondering. I think it's ok to merge.

JeodC avatar Apr 23 '24 20:04 JeodC