| 2026 | } |
| 2027 | |
| 2028 | Storage::~Storage(void) { |
| 2029 | ELPP_INTERNAL_INFO(4, "Destroying storage"); |
| 2030 | #if ELPP_ASYNC_LOGGING |
| 2031 | ELPP_INTERNAL_INFO(5, "Replacing log dispatch callback to synchronous"); |
| 2032 | uninstallLogDispatchCallback<base::AsyncLogDispatchCallback>(std::string("AsyncLogDispatchCallback")); |
| 2033 | installLogDispatchCallback<base::DefaultLogDispatchCallback>(std::string("DefaultLogDispatchCallback")); |
| 2034 | ELPP_INTERNAL_INFO(5, "Destroying asyncDispatchWorker"); |
| 2035 | base::utils::safeDelete(m_asyncDispatchWorker); |
| 2036 | ELPP_INTERNAL_INFO(5, "Destroying asyncLogQueue"); |
| 2037 | base::utils::safeDelete(m_asyncLogQueue); |
| 2038 | #endif // ELPP_ASYNC_LOGGING |
| 2039 | ELPP_INTERNAL_INFO(5, "Destroying registeredHitCounters"); |
| 2040 | base::utils::safeDelete(m_registeredHitCounters); |
| 2041 | ELPP_INTERNAL_INFO(5, "Destroying registeredLoggers"); |
| 2042 | base::utils::safeDelete(m_registeredLoggers); |
| 2043 | ELPP_INTERNAL_INFO(5, "Destroying vRegistry"); |
| 2044 | base::utils::safeDelete(m_vRegistry); |
| 2045 | } |
| 2046 | |
| 2047 | bool Storage::hasCustomFormatSpecifier(const char* formatSpecifier) { |
| 2048 | base::threading::ScopedLock scopedLock(lock()); |
nothing calls this directly
no test coverage detected