[node] Output debug logs when a render test times out
This commit is contained in:
@@ -594,4 +594,13 @@ void Source::emitTileLoadingFailed(const std::string& message) {
|
||||
observer_->onTileLoadingFailed(error);
|
||||
}
|
||||
|
||||
void Source::dumpDebugLogs() const {
|
||||
Log::Info(Event::General, "Source::id: %s", info.source_id.c_str());
|
||||
Log::Info(Event::General, "Source::loaded: %d", loaded);
|
||||
|
||||
for (const auto& tile : tiles) {
|
||||
tile.second->data->dumpDebugLogs();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user