![]() |
ReactPhysics3D
v0.10.2
C++ Physics engine library
|
This abstract class is the base class used to log information, warnings or errors during the execution of the library code for easier debugging. More...
#include <include/reactphysics3d/utils/Logger.h>
Public Types | |
| enum class | Level { Error = 1 , Warning = 2 , Information = 4 } |
| Log verbosity levels. | |
| enum class | Category { PhysicCommon , World , Body , Joint , Collider } |
| Log categories. | |
Public Member Functions | |
| Logger ()=default | |
| Constructor. | |
| virtual | ~Logger ()=default |
| Destructor. | |
| virtual void | log (Level level, const std::string &physicsWorldName, Category category, const std::string &message, const char *filename, int lineNumber)=0 |
| Log something. | |
Static Public Member Functions | |
| static std::string | getCategoryName (Category category) |
| Return the name of a category. | |
| static std::string | getLevelName (Level level) |
| Return the name of a level. | |
This abstract class is the base class used to log information, warnings or errors during the execution of the library code for easier debugging.
|
pure virtual |
Log something.
Implemented in reactphysics3d::DefaultLogger.