summaryrefslogtreecommitdiff
path: root/project2/common/logger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/logger.cpp')
-rw-r--r--project2/common/logger.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/project2/common/logger.cpp b/project2/common/logger.cpp
index 5ce82f9..781b44a 100644
--- a/project2/common/logger.cpp
+++ b/project2/common/logger.cpp
@@ -27,9 +27,9 @@ Log::setLoggerAt(LogDriverLoader * ldr, int level)
logs[ldr] = ldr->create();
}
lowestLevel = -1;
- BOOST_FOREACH(const auto & log, *Plugable::objLoaders<LogDriverLoader>()) {
- if (log.second->loggerLevel() > lowestLevel) {
- lowestLevel = log.second->loggerLevel();
+ BOOST_FOREACH(const auto & log, InstanceSet<LogDriverLoader>::GetAll()) {
+ if (log->loggerLevel() > lowestLevel) {
+ lowestLevel = log->loggerLevel();
}
}
}