From adb7db9229db1d869b254ac18f1471bed464c508 Mon Sep 17 00:00:00 2001 From: James Turner Date: Fri, 8 Feb 2013 20:17:27 +0000 Subject: [PATCH] Ensure individual log-level setting works. --- simgear/debug/logstream.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simgear/debug/logstream.cxx b/simgear/debug/logstream.cxx index 4de13f0c..1c798d80 100644 --- a/simgear/debug/logstream.cxx +++ b/simgear/debug/logstream.cxx @@ -334,13 +334,13 @@ logstream::get_log_priority() const void logstream::set_log_priority( sgDebugPriority p) { - global_privateLogstream->m_logPriority = p; + global_privateLogstream->setLogLevels(global_privateLogstream->m_logClass, p); } void logstream::set_log_classes( sgDebugClass c) { - global_privateLogstream->m_logClass = c; + global_privateLogstream->setLogLevels(c, global_privateLogstream->m_logPriority); } logstream&