[Service] Debugging condole.log with ServiceMessage 88/272288/4 accepted/tizen/unified/20220324.134420 submit/tizen/20220318.160023
authorDongHyun Song <dh81.song@samsung.com>
Mon, 14 Mar 2022 06:12:47 +0000 (15:12 +0900)
committerDongHyun Song <dh81.song@samsung.com>
Thu, 17 Mar 2022 06:38:17 +0000 (15:38 +0900)
commit87546938930b8d7f30cc3f5a686d019a77ff809f
treeaa282ecca8eff73251278a5fd4c48b226b31b37b
parent896a407d511e7961c7160c771a01fdbb9fc3772a
[Service] Debugging condole.log with ServiceMessage

There is no way to get the console message with commercial products
because Tizen SDK cannot get the 'dlog' actually.
 - 'dlog' is disabled on release firmware.

Thus, this way provides a new way to catch the console message of
service application by UI application's message port
 - local message port 'wrt.message.port'
 - message format : {'service-log' : message }

Change-Id: Ia42dbecb9daa492ffe58b4b5550d804569190232
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
wrt_app/common/service_message.ts
wrt_app/service/service_runner.ts