add OCSetLogLevel API in logger
authorjihwan.seo <jihwan.seo@samsung.com>
Fri, 10 Feb 2017 10:46:49 +0000 (19:46 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Wed, 15 Feb 2017 05:10:26 +0000 (05:10 +0000)
commitf77cc7180365d65763d63f6806aca452a1af04ba
tree1f514cf65e9d11df793071c01bac35af65d85979
parentac5629bb713fdd7066d889bbe73ea83286c6b0dc
add OCSetLogLevel API in logger

we can filter log with level through setLogLevel API.
it will be helpped to reduce unnecessary log
without additional build option in some lite device.
and also we can filter private information such as Device ID,
Access Token, etc.

Change-Id: I91bff24737cbc7f09985adc142fc5f3d37e8f577
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17197
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/logger/include/logger.h
resource/csdk/logger/src/logger.c