[node] Output debug logs when a render test times out
This commit is contained in:
@@ -23,4 +23,10 @@ const char* TileData::StateToString(const State state) {
|
||||
}
|
||||
}
|
||||
|
||||
void TileData::dumpDebugLogs() const {
|
||||
Log::Info(Event::General, "TileData::id: %s", std::string(id).c_str());
|
||||
Log::Info(Event::General, "TileData::state: %s", TileData::StateToString(state));
|
||||
Log::Info(Event::General, "TileData::error: %s", error.c_str());
|
||||
}
|
||||
|
||||
} // namespace mbgl
|
||||
|
||||
Reference in New Issue
Block a user