projects
/
platform
/
core
/
uifw
/
libtdm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
log: TDM_DEBUG env for debugging
[platform/core/uifw/libtdm.git]
/
common
/
tdm_log.c
diff --git
a/common/tdm_log.c
b/common/tdm_log.c
index
6e4c517
..
996618d
100644
(file)
--- a/
common/tdm_log.c
+++ b/
common/tdm_log.c
@@
-157,6
+157,9
@@
tdm_log_print(int level, const char *fmt, ...)
if (level > tdm_log_debug_level)
return;
+ if (getenv("TDM_DEBUG"))
+ dlog_enable = 0;
+
if (dlog_enable) {
log_priority dlog_prio;
switch (level) {