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
This commit is contained in:
Thiago Marcos P. Santos
2015-03-11 17:19:16 +02:00
parent 2b6afe6a54
commit 124b49562d
17 changed files with 65 additions and 54 deletions

View File

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