From 124b49562ddfe951ad82243b56a859a46a58bd57 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Wed, 11 Mar 2015 17:19:16 +0200 Subject: 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 --- linux/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux') 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 { -- cgit v1.2.1