[node] Output debug logs when a render test times out

This commit is contained in:
John Firebaugh
2015-10-28 11:58:42 -07:00
parent dd56e832b5
commit 014b517820
16 changed files with 80 additions and 2 deletions

View File

@@ -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();
}
}
}