diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2015-03-09 15:42:11 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-03-12 13:28:40 +0200 |
commit | 2948e7d121343359b817d2fb0eb383e257ab84c8 (patch) | |
tree | f16ef0c923774abe4d2eb2c2e888ffe22238e926 /include/mbgl/platform/darwin/log_nslog.hpp | |
parent | ba9d2420699507c6d32b12272151529663c8d2fd (diff) | |
download | qtlocation-mapboxgl-2948e7d121343359b817d2fb0eb383e257ab84c8.tar.gz |
Simplify the logging mechanism
Move the implementation of the more specialized methods to the base
class and let the platform implement only the most generic method that
takes all the possible arguments.
These specialized methods will then map to the generic implementation
that must be provided by the platforms we support.
Diffstat (limited to 'include/mbgl/platform/darwin/log_nslog.hpp')
-rw-r--r-- | include/mbgl/platform/darwin/log_nslog.hpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/mbgl/platform/darwin/log_nslog.hpp b/include/mbgl/platform/darwin/log_nslog.hpp index d40f963036..5b2ed04114 100644 --- a/include/mbgl/platform/darwin/log_nslog.hpp +++ b/include/mbgl/platform/darwin/log_nslog.hpp @@ -9,9 +9,6 @@ class NSLogBackend : public LogBackend { public: inline ~NSLogBackend() = default; - void record(EventSeverity severity, Event event, const std::string &msg); - void record(EventSeverity severity, Event event, const char* format, ...); - void record(EventSeverity severity, Event event, int64_t code); void record(EventSeverity severity, Event event, int64_t code, const std::string &msg); }; |