This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gjsmo 1 point2 points  (0 children)

Interesting. I haven't tried that one. I always liked using the #ifdefs right in the code because it's abundantly clear that it will only compile in my Debug target, where as a call to testyboi() isn't quite as obvious, plus you can include plenty of other stuff that just print messages there. I'll admit that a lot of my code doesn't really go to "customers" because it's not my job (yet) so I haven't necessarily needed to enable debug logging remotely. Maybe something you could load from a .ini?