From 4cd656135f57e6ccba8d457fac3a87763a548678 Mon Sep 17 00:00:00 2001 From: Lloyd Sheng Date: Wed, 20 Jun 2018 11:47:42 +0800 Subject: Make log message more clear --- platform/default/default_file_source.cpp | 4 ++-- src/mbgl/tile/geometry_tile_worker.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/default/default_file_source.cpp b/platform/default/default_file_source.cpp index 00559c4e49..eade68ede8 100644 --- a/platform/default/default_file_source.cpp +++ b/platform/default/default_file_source.cpp @@ -157,9 +157,9 @@ public: this->offlineDatabase->put(resource, onlineResponse); if (resource.kind == Resource::Kind::Tile) { MBGL_TIMING_FINISH(watch, - " Action: " << "Requesting" << + " Action: " << "Requesting," << " URL: " << resource.url.c_str() << - " Size: " << onlineResponse.data->size() << "B," << + " Size: " << onlineResponse.data->size() << "B," << " Time") } callback(onlineResponse); diff --git a/src/mbgl/tile/geometry_tile_worker.cpp b/src/mbgl/tile/geometry_tile_worker.cpp index bcbc3386db..31f4b89801 100644 --- a/src/mbgl/tile/geometry_tile_worker.cpp +++ b/src/mbgl/tile/geometry_tile_worker.cpp @@ -406,7 +406,7 @@ void GeometryTileWorker::parse() { requestNewImages(imageDependencies); MBGL_TIMING_FINISH(watch, - " Action: " << "Parsing" << + " Action: " << "Parsing," << " SourceID: " << sourceID.c_str() << " Canonical: " << static_cast(id.canonical.z) << "/" << id.canonical.x << "/" << id.canonical.y << " Time"); @@ -475,7 +475,7 @@ void GeometryTileWorker::performSymbolLayout() { firstLoad = false; MBGL_TIMING_FINISH(watch, - " Action: " << "SymbolLayout" << + " Action: " << "SymbolLayout," << " SourceID: " << sourceID.c_str() << " Canonical: " << static_cast(id.canonical.z) << "/" << id.canonical.x << "/" << id.canonical.y << " Time"); -- cgit v1.2.1