Set the logger * @param logger A pointer to the logger to use */
| 277 | * @param logger A pointer to the logger to use |
| 278 | */ |
| 279 | RP3D_FORCE_INLINE void PhysicsCommon::setLogger(Logger* logger) { |
| 280 | mLogger = logger; |
| 281 | } |
| 282 | |
| 283 | // Use this macro to log something |
| 284 | #define RP3D_LOG(physicsWorldName, level, category, message, filename, lineNumber) if (reactphysics3d::PhysicsCommon::getLogger() != nullptr) PhysicsCommon::getLogger()->log(level, physicsWorldName, category, message, filename, lineNumber) |
nothing calls this directly
no outgoing calls
no test coverage detected