X-Git-Url: http://git.home-dn.net/?p=manu%2Fsuphp.git;a=blobdiff_plain;f=src%2FLogger.cpp;h=d84823703e8277051052f2729d09e3cb56195f20;hp=c79994f13fd11f9c2e5b7d693694757aa22d3c02;hb=849f4a7977b5780eacae8fad7a078d05f4a615ee;hpb=b0eaa3f1fbf491fdc8a3044cf20754f14254338a diff --git a/src/Logger.cpp b/src/Logger.cpp index c79994f..d848237 100644 --- a/src/Logger.cpp +++ b/src/Logger.cpp @@ -32,18 +32,18 @@ void suPHP::Logger::setLogLevel(LogLevel level) { void suPHP::Logger::logInfo(const std::string& message) { if (this->getLogLevel() == LOGLEVEL_INFO) - this->log("info", message); + this->log("info", message); } void suPHP::Logger::logWarning(const std::string& message) { if (this->getLogLevel() == LOGLEVEL_WARN - || this->getLogLevel() == LOGLEVEL_INFO) - this->log("warn", message); + || this->getLogLevel() == LOGLEVEL_INFO) + this->log("warn", message); } void suPHP::Logger::logError(const std::string& message) { if (this->getLogLevel() == LOGLEVEL_ERROR - || this->getLogLevel() == LOGLEVEL_WARN - || this->getLogLevel() == LOGLEVEL_INFO) - this->log("error", message); + || this->getLogLevel() == LOGLEVEL_WARN + || this->getLogLevel() == LOGLEVEL_INFO) + this->log("error", message); }