-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.48..v0.2.49 changeset LogGeneric.cpp
Garret Voltz edited this page Oct 2, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/util/LogGeneric.cpp b/hoot-core/src/main/cpp/hoot/core/util/LogGeneric.cpp
index 5b679e2..d611462 100644
--- a/hoot-core/src/main/cpp/hoot/core/util/LogGeneric.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/util/LogGeneric.cpp
@@ -118,6 +118,9 @@ bool Log::notFiltered(const string& prettyFunction)
nameParts = nameParts[0].split("::");
int listLen = nameParts.length();
+ // Is there any way we can throw here if the class name isn't recognized, so we don't wonder
+ // why a typo caused us not to get the logging we thought we were going to get?
+
return (listLen > 1 && _classFilter.contains(nameParts[listLen - 2]));
}