Ensure individual log-level setting works.

This commit is contained in:
James Turner 2013-02-08 20:17:27 +00:00
parent e4f7aec965
commit adb7db9229

View File

@ -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&