nickrules
2010-08-06 16:27:48
Less clutter for those who do not want to see it, but still there for those who do. It allows you to see the important stuff, and none of the unimportant details, for the non devs.
It would have to be defined and such (not too sure how to do that, tried once, got an exception)
something like this:
Because it would be a define, it could be commented out if someone wanted to see everything.
Thoughts?
It would have to be defined and such (not too sure how to do that, tried once, got an exception)
something like this:
If (DebugLevel = DEBUG_SMALL_DETAILS) or {$ifndef SimbaDebugConsole}then
writeln(DebugMSG);
else
begin
DebugLn(DebugMSG)
end;
in place of the single writeln we have.Because it would be a define, it could be commented out if someone wanted to see everything.
Thoughts?