| 15 | std::mutex StreamLogger::m_Mutex; |
| 16 | |
| 17 | void StreamLogger::Stop(bool runtimeRemoved) |
| 18 | { |
| 19 | ObjectImpl<StreamLogger>::Stop(runtimeRemoved); |
| 20 | |
| 21 | // make sure we flush the log data on shutdown, even if we don't call the destructor |
| 22 | if (m_Stream) |
| 23 | m_Stream->flush(); |
| 24 | } |
| 25 | |
| 26 | /** |
| 27 | * Destructor for the StreamLogger class. |