From 9aa972e681238a17ac8135c241615ba837f12bcb Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Thu, 12 Jun 2014 13:30:11 +0100 Subject: [PATCH] (ScrollView) Disable ALWAYS-ON logging. [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 --- .../internal/controls/scrollable/scroll-view/scroll-view-impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.cpp b/base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.cpp index 38c3555..78235c3 100644 --- a/base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.cpp +++ b/base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.cpp @@ -25,10 +25,10 @@ #include #include -#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 -- 2.7.4