diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-03 03:19:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-03 03:19:20 +0200 |
commit | c2e0820ac2c0b51c0b14af608f4225eec8712f5e (patch) | |
tree | 0a40b6f36c98402748b881fb43986f32d16ffbd8 /src/common/logging/filter.cpp | |
parent | Merge pull request #267 from N00byKing/patch-1 (diff) | |
parent | Remove dependency chrono (diff) | |
download | yuzu-c2e0820ac2c0b51c0b14af608f4225eec8712f5e.tar yuzu-c2e0820ac2c0b51c0b14af608f4225eec8712f5e.tar.gz yuzu-c2e0820ac2c0b51c0b14af608f4225eec8712f5e.tar.bz2 yuzu-c2e0820ac2c0b51c0b14af608f4225eec8712f5e.tar.lz yuzu-c2e0820ac2c0b51c0b14af608f4225eec8712f5e.tar.xz yuzu-c2e0820ac2c0b51c0b14af608f4225eec8712f5e.tar.zst yuzu-c2e0820ac2c0b51c0b14af608f4225eec8712f5e.zip |
Diffstat (limited to 'src/common/logging/filter.cpp')
-rw-r--r-- | src/common/logging/filter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/logging/filter.cpp b/src/common/logging/filter.cpp index 733247b51..428723dce 100644 --- a/src/common/logging/filter.cpp +++ b/src/common/logging/filter.cpp @@ -65,14 +65,14 @@ bool Filter::ParseFilterRule(const std::string::const_iterator begin, const std::string::const_iterator end) { auto level_separator = std::find(begin, end, ':'); if (level_separator == end) { - LOG_ERROR(Log, "Invalid log filter. Must specify a log level after `:`: %s", - std::string(begin, end).c_str()); + NGLOG_ERROR(Log, "Invalid log filter. Must specify a log level after `:`: %s", + std::string(begin, end).c_str()); return false; } const Level level = GetLevelByName(level_separator + 1, end); if (level == Level::Count) { - LOG_ERROR(Log, "Unknown log level in filter: %s", std::string(begin, end).c_str()); + NGLOG_ERROR(Log, "Unknown log level in filter: %s", std::string(begin, end).c_str()); return false; } @@ -83,7 +83,7 @@ bool Filter::ParseFilterRule(const std::string::const_iterator begin, const Class log_class = GetClassByName(begin, level_separator); if (log_class == Class::Count) { - LOG_ERROR(Log, "Unknown log class in filter: %s", std::string(begin, end).c_str()); + NGLOG_ERROR(Log, "Unknown log class in filter: %s", std::string(begin, end).c_str()); return false; } |