| 162 | } |
| 163 | |
| 164 | void LogManager::write( const Metadata &meta, const std::string &text ) |
| 165 | { |
| 166 | // TODO move this to a shared_lock_timed with c++14 support |
| 167 | lock_guard<mutex> lock( mMutex ); |
| 168 | |
| 169 | for( auto& logger : mLoggers ) { |
| 170 | logger->write( meta, text ); |
| 171 | } |
| 172 | } |
| 173 | |
| 174 | // ---------------------------------------------------------------------------------------------------- |
| 175 | // Entry |
no test coverage detected