summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2015-03-11 17:19:16 +0200
committerThiago Marcos P. Santos <thiago@mapbox.com>2015-03-12 14:19:32 +0200
commit124b49562ddfe951ad82243b56a859a46a58bd57 (patch)
treedbee0d9b9e6432401e033637eb80bc71fa05a42a /linux
parent2b6afe6a549284a862d0231653d2183d57a5b496 (diff)
downloadqtlocation-mapboxgl-124b49562ddfe951ad82243b56a859a46a58bd57.tar.gz
Get rid of printf and cout by using Log::*
Use our logging system that will route the message accordingly on the target platform. Fixes #613
Diffstat (limited to 'linux')
-rw-r--r--linux/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/main.cpp b/linux/main.cpp
index 6a2be43d7c..697941164a 100644
--- a/linux/main.cpp
+++ b/linux/main.cpp
@@ -17,7 +17,7 @@ GLFWView *view = nullptr;
void quit_handler(int) {
if (view) {
- fprintf(stderr, "waiting for quit...\n");
+ mbgl::Log::Info(mbgl::Event::Setup, "waiting for quit...");
glfwSetWindowShouldClose(view->window, true);
glfwPostEmptyEvent();
} else {