From: Adeel Kazmi Date: Thu, 12 Jun 2014 12:30:11 +0000 (+0100) Subject: (ScrollView) Disable ALWAYS-ON logging. X-Git-Tag: dali_1.0.0~53 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=9aa972e681238a17ac8135c241615ba837f12bcb (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 --- 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