summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2015-03-12 14:18:25 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2015-03-12 14:18:25 +0200
commit2b6afe6a549284a862d0231653d2183d57a5b496 (patch)
tree715182b2fc50edd793b6a945950b68c7b135ec8d /linux
parent4e8036311d434db9bb1bd41b65bd39e2891e17d0 (diff)
parent79f3149d9d973a31bcc5cf3ba1dbe77d90884ace (diff)
downloadqtlocation-mapboxgl-2b6afe6a549284a862d0231653d2183d57a5b496.tar.gz
Merge pull request #972 from mapbox/log_cleanup
Refactoring of the log system
Diffstat (limited to 'linux')
-rw-r--r--linux/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/main.cpp b/linux/main.cpp
index 6688905ea9..6a2be43d7c 100644
--- a/linux/main.cpp
+++ b/linux/main.cpp
@@ -1,9 +1,9 @@
#include <mbgl/mbgl.hpp>
#include <mbgl/util/uv.hpp>
+#include <mbgl/platform/log.hpp>
#include <mbgl/platform/platform.hpp>
#include <mbgl/platform/default/settings_json.hpp>
#include <mbgl/platform/default/glfw_view.hpp>
-#include <mbgl/platform/default/log_stderr.hpp>
#include <mbgl/storage/default_file_source.hpp>
#include <mbgl/storage/default/sqlite_cache.hpp>
@@ -26,8 +26,6 @@ void quit_handler(int) {
}
int main(int argc, char *argv[]) {
- mbgl::Log::Set<mbgl::StderrLogBackend>();
-
int fullscreen_flag = 0;
std::string style;