[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

@@ -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