Added API function dbug()
This commit is contained in:
1 parent
3118964e80
commit
513e8fc506
2 files changed
+6
No files matched your search
@@ -42,7 +42,12 @@ sub println
|
||||
# Print only if in debug mode.
|
||||
sub dbug
|
||||
{
|
||||
my ($out) = @_;
|
||||
|
||||
if ($Auto::DEBUG) {
|
||||
# We're in debug mode; print it out.
|
||||
println $out;
|
||||
}
|
||||
}
|
||||
|
||||
# Log to file.
|
||||
|
||||
Reference in new issue
Block a user