What happened to DebugLog?!
Monkey Forums/Monkey Programming/What happened to DebugLog?!
| ||
I've recently realised that "Print" is taking the place of "DebugLog", and am having to slowly but surely train myself to use Print instead. Ever since Blitz2D I've been using DebugLog to do exactly what the command is there for!! Monkey used to be happy doing DebugLog, but something's changed lately. HTML5 target, in particular, seems to now completely ignore DebugLog, and instead prefer to Print. Is there any particular reason for this switch?! Seems a bit odd. |
| ||
I had the exact same issue a while back - I am also a DebugLoggger :) http://www.monkeycoder.co.nz/Community/posts.php?topic=5764#65312 |
| ||
Why not havefunction DebugLog( error:string ) Print error End put it somewhere in ya code and there ya go :) |
| ||
Yeah, or just a quick "Ctrl+F : DebugLog : Print" does the job. I was more interested to know why the change, as opposed to ways to fix it. Seems a strange thing to decide to tweak, given the decades of use that DebugLog's had! |
| ||
Isn't DebugLog ignored in release mode? So if that's the case then Eds solution is not really the solution. |
| ||
Iirc all print command are ignored so it would just be ignored anyways :) |
| ||
I guess you are right. |