[Log] Use ml_log* instead of g_* for logging
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 7 Apr 2020 10:59:36 +0000 (19:59 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 8 Apr 2020 03:30:44 +0000 (12:30 +0900)
commit99a7cd3126619198e0028ab228e67dc6b9bb4be8
tree78dc4c4b0fa912207a26213e93e02d47611c4481
parent4dc027370b9a3f0cd241c8329c59cf51fa102668
[Log] Use ml_log* instead of g_* for logging

With ml_log* nnstreamer internal APIs,
we can enable dlog in Tizen and Android logging in Android
while keep using GLIB's logging in other systems.

ps. Removed G_DECL from nnstreamer_log because it is
independent from glib.

Fixes #1905

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
19 files changed:
ext/nnstreamer/tensor_filter/tensor_filter_armnn.cc
ext/nnstreamer/tensor_filter/tensor_filter_caffe2.cc
ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc
ext/nnstreamer/tensor_filter/tensor_filter_edgetpu.cc
ext/nnstreamer/tensor_filter/tensor_filter_movidius_ncsdk2.c
ext/nnstreamer/tensor_filter/tensor_filter_openvino.cc
ext/nnstreamer/tensor_filter/tensor_filter_python.cc
ext/nnstreamer/tensor_filter/tensor_filter_python_api.c
ext/nnstreamer/tensor_filter/tensor_filter_pytorch.cc
ext/nnstreamer/tensor_filter/tensor_filter_tensorflow.cc
ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc
gst/nnstreamer/nnstreamer_conf.c
gst/nnstreamer/nnstreamer_log.h
gst/nnstreamer/nnstreamer_subplugin.c
gst/nnstreamer/tensor_converter/tensor_converter.c
gst/nnstreamer/tensor_filter/tensor_filter_common.c
gst/nnstreamer/tensor_filter/tensor_filter_custom.c
gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c
gst/nnstreamer/tensor_transform/tensor_transform.c