Destructor
| 40 | |
| 41 | // Destructor |
| 42 | DefaultLogger::~DefaultLogger() { |
| 43 | |
| 44 | removeAllDestinations(); |
| 45 | |
| 46 | // Remove all the formatters |
| 47 | for (auto it = mFormatters.begin(); it != mFormatters.end(); ++it) { |
| 48 | |
| 49 | delete it->second; |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | // Return the corresponding formatter |
| 54 | DefaultLogger::Formatter* DefaultLogger::getFormatter(Format format) const { |
no test coverage detected