vle-forge / vle

Virtual Laboratory Environment
http://www.vle-project.org
GNU General Public License v3.0
21 stars 22 forks source link

bug in Context::log functions ? #350

Closed rtrepos closed 5 years ago

rtrepos commented 5 years ago

the log functions do not take into account the priority parameter. It will print the message whatever the priority is.

Is there a missing condition such as :

if (m_pimpl->log_priority >= priority)

quesnel commented 5 years ago

On Wed 10 Oct 18, rtrepos wrote:

the log functions do not take into account the priority parameter. It will print the message whatever the priority is.

Is there a missing condition such as : if (m_pimpl->log_priority >= priority)

Yes, you are right.