| 82 | } |
| 83 | |
| 84 | void closeMain() { |
| 85 | QMutexLocker lock(_logsMutex(LogDataMain)); |
| 86 | WritingEntryScope scope; |
| 87 | |
| 88 | const auto file = files[LogDataMain].get(); |
| 89 | if (file && file->isOpen()) { |
| 90 | file->close(); |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | bool instanceChecked() { |
| 95 | return reopen(LogDataMain, 0, QString()); |
no test coverage detected