(ScrollView) Disable ALWAYS-ON logging. 58/24158/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 12 Jun 2014 12:30:11 +0000 (13:30 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 17:47:00 +0000 (18:47 +0100)
[problem]      Logging is always on in scroll-view
[solution]     Disable, comment out to enable it on local builds

Change-Id: I5780f0783182d77e6d6dbe330f890a47a1505810
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.cpp

index 38c3555..78235c3 100644 (file)
 #include <dali-toolkit/internal/controls/scrollable/scroll-view/scroll-overshoot-indicator-impl.h>
 #include <dali/integration-api/debug.h>
 
-#define ENABLED_SCROLL_STATE_LOGGING
+//#define ENABLED_SCROLL_STATE_LOGGING
 
 #ifdef ENABLED_SCROLL_STATE_LOGGING
-#define DALI_LOG_SCROLL_STATE(format, args...) Dali::Integration::Log::LogMessage(Dali::Integration::Log::DebugInfo, "%s:%d " format, __PRETTY_FUNCTION__, __LINE__, ## args)
+#define DALI_LOG_SCROLL_STATE(format, args...) Dali::Integration::Log::LogMessage(Dali::Integration::Log::DebugInfo, "%s:%d " format "\n", __PRETTY_FUNCTION__, __LINE__, ## args)
 #else
 #define DALI_LOG_SCROLL_STATE(format, args...)
 #endif