void Log::setLevel(Level level)
{
- if (level != 0) gLevel = level;
+ gLevel = level;
}
Log::Level Log::getLevel()
}
-static std::ofstream nullLog_;
-
std::ostream& log(std::clog);
+
+static std::ofstream nullLog_;
std::ostream& nullLog(nullLog_);
Log logError(Log::ERRORR, " error: ");