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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user