| 122 | } |
| 123 | |
| 124 | void LogWidget::Append(google::LogSeverity severity, std::string text) { |
| 125 | QMutexLocker locker(&mutex_); |
| 126 | text_queue_.push_back({severity, std::move(text)}); |
| 127 | } |
| 128 | |
| 129 | void LogWidget::Flush() { |
| 130 | QMutexLocker locker(&mutex_); |