[Tizen] Let TV profile print debug level logs as INFO level also 24/316324/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 12 Dec 2024 08:23:35 +0000 (17:23 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 13 Dec 2024 01:57:15 +0000 (10:57 +0900)
Change-Id: I46750e96ade246bf9c080ae9986cfb8e8cd52f1e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/system/tizen-wayland/logging-tizen.cpp

index b535cbc6dab652360a87348d2eda39d89576b912..15a4a4c04439d71db532d33bd134a1889b1eb9ce 100644 (file)
@@ -69,7 +69,11 @@ void LogMessage(Dali::Integration::Log::DebugPriority level, std::string& messag
   switch(level)
   {
     case Dali::Integration::Log::DEBUG:
+#ifdef DALI_PROFILE_TV // TV profile want to print debug level information as INFO level.
+      print_log(DLOG_INFO, DALI_TAG, "%s", message.c_str());
+#else
       print_log(DLOG_DEBUG, DALI_TAG, "%s", message.c_str());
+#endif
       break;
     case Dali::Integration::Log::INFO:
       print_log(DLOG_INFO, DALI_TAG, "%s", message.c_str());