Ensure individual log-level setting works.
This commit is contained in:
parent
e4f7aec965
commit
adb7db9229
@ -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&
|
||||
|
Loading…
Reference in New Issue
Block a user