projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add the permanent log feature
[platform/core/connectivity/bluetooth-frwk.git]
/
bt-service-adaptation
/
services
/
bt-service-common.c
diff --git
a/bt-service-adaptation/services/bt-service-common.c
b/bt-service-adaptation/services/bt-service-common.c
index
6baf5fa
..
2aa4800
100644
(file)
--- a/
bt-service-adaptation/services/bt-service-common.c
+++ b/
bt-service-adaptation/services/bt-service-common.c
@@
-1309,6
+1309,10
@@
void _bt_permanent_log(const char *fmt, ...)
long lsize = 0;
va_list ap;
+#ifndef TIZEN_FEATURE_BT_PERMANENT_LOG
+ return;
+#endif
+
t = time(&t);
lt = localtime(&t);
strftime(time_buf, sizeof(time_buf), "%m-%d %H:%M:%S", lt);