[Tizen] Make Log::LogMessage print to stderr / stdout if log function not installed 14/314114/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 4 Jul 2024 10:16:18 +0000 (19:16 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 5 Jul 2024 08:36:22 +0000 (17:36 +0900)
commit56f04da5fba089eac91c58044aca4168c38e8080
treec1bec13ca47e2cec7067cc50a862fa1c1d53e748
parenta350f4758a74f337bb201c84aef30c6e799d01fe
[Tizen] Make Log::LogMessage print to stderr / stdout if log function not installed

Until now, we just ignore the messages when we use Dali::Integration::Log::LogMessage(Something like, DALI_LOG_ERROR macro) when we don't install log function.

The log function exist per each threads.
But it is difficult to debug something at worker thread jobs
what DALi cannot controled. (Like GC thread for dotnet Application)

For more general and each debugging, let we print 'something' even if
log function is not installed, like stderr.

For now, Tizen platform re-open the stderr / stdout as dlog.
and Linux-friendly + Windows support to print logs into stderr, stdout file.

Change-Id: Iaf6a49d8aa9f53108b4c83bbdb18df406e3b57fa
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/integration-api/debug.cpp
dali/integration-api/debug.h