| 122 | } |
| 123 | |
| 124 | void LoggerRegistry::SetDefaultLogger(std::shared_ptr<Logger> logger) { |
| 125 | DCHECK_NE(logger, nullptr); |
| 126 | auto registry = GetRegistry(); |
| 127 | std::lock_guard<std::mutex> lk(registry->mtx); |
| 128 | registry->default_logger = std::move(logger); |
| 129 | } |
| 130 | |
| 131 | class LogMessage::Impl { |
| 132 | public: |
nothing calls this directly
no test coverage detected