Destructor
| 42 | |
| 43 | // Destructor |
| 44 | TestbedLogger::~TestbedLogger() { |
| 45 | |
| 46 | // Delete all the destinations |
| 47 | for (auto& item: mMapWorldToDestinations) { |
| 48 | delete item.second; |
| 49 | } |
| 50 | |
| 51 | delete mStandardOutputDestination; |
| 52 | } |
| 53 | |
| 54 | // Log something |
| 55 | void TestbedLogger::log(Level level, const std::string& physicsWorldName, Category category, const std::string& message, const char* filename, int lineNumber) { |
nothing calls this directly
no outgoing calls
no test coverage detected