Refactor logging, improve error handling workflow, clang-format. (#3385)

This commit is contained in:
Daniel Patterson
2016-12-06 12:30:46 -08:00
committed by GitHub
parent 6f4c6e84ae
commit 468d8c0031
62 changed files with 1778 additions and 1607 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
#include "storage/storage_config.hpp"
#include "util/simple_logger.hpp"
#include "util/log.hpp"
#include <boost/filesystem/operations.hpp>
@@ -43,7 +43,7 @@ bool StorageConfig::IsValid() const
{
if (!boost::filesystem::is_regular_file(*path))
{
util::SimpleLogger().Write(logWARNING) << "Missing/Broken File: " << path->string();
util::Log(logWARNING) << "Missing/Broken File: " << path->string();
success = false;
}
}