Firefly Open Source Community

Title: Enable logging in Android HAL module [Print This Page]

Author: Mark    Time: 1/2/2018 21:34
Title: Enable logging in Android HAL module
Dear all,

How can I enable logging (using ALOGx calls within Android framework) inside the HAL module for hwcomposer.cpp ? This file is located: ./hardware/rockchip/hwcomposer/hwcomposer.cpp
For some reason the logging calls never end up in the logcat output. For another module, such as the lights HAL module (./hardware/rockchip/liblights), the logging calls do show up in logcat !!

I have tried the following:
  1. #define LOG_NDEBUG 0
Copy the code
defining at top of the respective file, but this does not change anything.

Anyone any idea how to enable logging in this HWComposer HAL module?

Thanks in advance,
Kind regards, Mark






Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1