Cleaned up the whitespace again. Let's see how the cache does.

pull/1479/head
Jared Mulconry 2017-10-10 22:08:13 +11:00
parent dce2be9e09
commit 1497cc27b2
1 changed files with 5 additions and 5 deletions

View File

@ -60,34 +60,34 @@ public:
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
static void ThrowException(const std::string& msg) static void ThrowException(const std::string& msg)
{ {
throw DeadlyImportError(Prefix() + msg); throw DeadlyImportError(Prefix()+msg);
} }
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
static void LogWarn(const Formatter::format& message) { static void LogWarn(const Formatter::format& message) {
if (!DefaultLogger::isNullLogger()) { if (!DefaultLogger::isNullLogger()) {
DefaultLogger::get()->warn(Prefix() + (std::string)message); DefaultLogger::get()->warn(Prefix()+(std::string)message);
} }
} }
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
static void LogError(const Formatter::format& message) { static void LogError(const Formatter::format& message) {
if (!DefaultLogger::isNullLogger()) { if (!DefaultLogger::isNullLogger()) {
DefaultLogger::get()->error(Prefix() + (std::string)message); DefaultLogger::get()->error(Prefix()+(std::string)message);
} }
} }
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
static void LogInfo(const Formatter::format& message) { static void LogInfo(const Formatter::format& message) {
if (!DefaultLogger::isNullLogger()) { if (!DefaultLogger::isNullLogger()) {
DefaultLogger::get()->info(Prefix() + (std::string)message); DefaultLogger::get()->info(Prefix()+(std::string)message);
} }
} }
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
static void LogDebug(const Formatter::format& message) { static void LogDebug(const Formatter::format& message) {
if (!DefaultLogger::isNullLogger()) { if (!DefaultLogger::isNullLogger()) {
DefaultLogger::get()->debug(Prefix() + (std::string)message); DefaultLogger::get()->debug(Prefix()+(std::string)message);
} }
} }