summaryrefslogtreecommitdiff
path: root/src/mbgl/util/logging.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/logging.cpp')
-rw-r--r--src/mbgl/util/logging.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/util/logging.cpp b/src/mbgl/util/logging.cpp
index 0552eb36cb..672dcec665 100644
--- a/src/mbgl/util/logging.cpp
+++ b/src/mbgl/util/logging.cpp
@@ -43,8 +43,7 @@ void Log::record(EventSeverity severity, Event event, int64_t code) {
}
void Log::record(EventSeverity severity, Event event, int64_t code, const std::string &msg) {
- if (currentObserver && severity != EventSeverity::Debug &&
- currentObserver->onRecord(severity, event, code, msg)) {
+ if (currentObserver && currentObserver->onRecord(severity, event, code, msg)) {
return;
}