tinydtls: add android logging support
authorHauke Mehrtens <hauke.mehrtens@lantiq.com>
Tue, 22 Sep 2015 09:46:53 +0000 (11:46 +0200)
committerSachin Agrawal <sachin.agrawal@intel.com>
Fri, 2 Oct 2015 22:50:54 +0000 (22:50 +0000)
commitbff19c14bff0b6ad271af186813f0995bcc7be48
tree58eea34fdfe03957b8654a463e4fa1440a99c87e
parenta326fac3f45cca4daddeca2dbbb74864ed2ea582
tinydtls: add android logging support

This patch forwards the logging messages form tinydtls to the normal
android logging system instead of writing them to stdout and stderr.
This is activated in non release builds.

Change-Id: I56cf6752267dc512bf8252dfaaf957d0f87e5bf1
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2925
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
(cherry picked from commit f713811ed4f6c7ecbb0d328759ef37c12bfca4a6)
Reviewed-on: https://gerrit.iotivity.org/gerrit/3433
extlibs/tinydtls/debug.c