Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@maps.me>2016-01-19 18:23:03 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:14:16 +0300
commit777be28e30235e1f3ae971a3f4668eb5d9eb0cc5 (patch)
tree0a3296778aa02002e2b272c285933bd01cf15082 /testing
parentd2622868bf6baca0374662fb70f68809c8d86223 (diff)
ScopedLogLevelChanger integration.
Diffstat (limited to 'testing')
-rw-r--r--testing/testingmain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/testingmain.cpp b/testing/testingmain.cpp
index 6ecb057189..bfbebc97df 100644
--- a/testing/testingmain.cpp
+++ b/testing/testingmain.cpp
@@ -110,7 +110,7 @@ int main(int argc, char * argv[])
UNUSED_VALUE(argv);
#endif
- my::g_LogLevel = LINFO;
+ my::ScopedLogLevelChanger const infoLogLevel(LINFO);
#if defined(OMIM_OS_MAC) || defined(OMIM_OS_LINUX)
my::SetLogMessageFn(my::LogMessageTests);
#endif