| 59 | } |
| 60 | |
| 61 | void restartCompressionThread() { |
| 62 | stopCompressionThread(); |
| 63 | |
| 64 | RuntimeLogger::nanoLogSingleton.compressionThreadShouldExit = false; |
| 65 | RuntimeLogger::nanoLogSingleton.compressionThread = |
| 66 | std::thread(&RuntimeLogger::compressionThreadMain, |
| 67 | &RuntimeLogger::nanoLogSingleton); |
| 68 | } |
| 69 | |
| 70 | // The fixture for testing class Foo. |
| 71 | class LogTest : public ::testing::Test { |
nothing calls this directly
no test coverage detected