Output debug info only in debug mode

master
Marius Kintel 2014-06-25 23:54:10 -04:00
parent 446c569703
commit 8733b875f2
1 changed files with 2 additions and 2 deletions

View File

@ -84,10 +84,10 @@ bool ModuleCache::evaluate(const std::string &filename, FileModule *&module)
if (shouldCompile) {
#ifdef DEBUG
if (found) {
PRINTB("Recompiling cached library: %s (%s)", filename % cache_id);
PRINTDB("Recompiling cached library: %s (%s)", filename % cache_id);
}
else {
PRINTB("Compiling library '%s'.", filename);
PRINTDB("Compiling library '%s'.", filename);
}
#endif