DanielChappuis / reactphysics3d

Open source C++ physics engine library in 3D
http://www.reactphysics3d.com
zlib License
1.54k stars 223 forks source link

the levelFlag in class Destination is never used #122

Closed cloudwu closed 4 years ago

cloudwu commented 4 years ago

https://github.com/DanielChappuis/reactphysics3d/blob/develop/src/utils/Logger.h#L328

levelFlag is stored on constructor, but never be used. I guess we should check this flag before Destination::write . So that we can ignore some log levels when we new a Logger object.

DanielChappuis commented 4 years ago

Thanks a lot for reporting this. I will check that.

DanielChappuis commented 4 years ago

The version v0.8.0 of ReactPhysics3D has been released. In this version, this issue is now fixed.

Thanks a lot for reporting this issue.