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
Package version up to 2.7.1
[platform/core/uifw/libtdm.git]
/
common
/
tdm_log.c
diff --git
a/common/tdm_log.c
b/common/tdm_log.c
index
94aebc3
..
975eb19
100644
(file)
--- a/
common/tdm_log.c
+++ b/
common/tdm_log.c
@@
-9,7
+9,7
@@
* Taeheon Kim <th908.kim@samsung.com>,
* YoungJun Cho <yj44.cho@samsung.com>,
* SooChan Lim <sc1.lim@samsung.com>,
* Taeheon Kim <th908.kim@samsung.com>,
* YoungJun Cho <yj44.cho@samsung.com>,
* SooChan Lim <sc1.lim@samsung.com>,
- * Boram Park <
sc1.lim
@samsung.com>
+ * Boram Park <
boram1288.park
@samsung.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
@@
-81,9
+81,6
@@
tdm_log_enable_color(unsigned int enable)
EXTERN void
tdm_log_enable_dlog(unsigned int enable)
{
EXTERN void
tdm_log_enable_dlog(unsigned int enable)
{
- const char *str = getenv("TDM_DLOG");
- if (str)
- enable = (str[0] == '1') ? 1 : 0;
dlog_enable = enable;
TDM_INFO("dlog_enable: %d", dlog_enable);
}
dlog_enable = enable;
TDM_INFO("dlog_enable: %d", dlog_enable);
}
@@
-91,9
+88,6
@@
tdm_log_enable_dlog(unsigned int enable)
EXTERN void
tdm_log_set_debug_level(int level)
{
EXTERN void
tdm_log_set_debug_level(int level)
{
- const char *str = getenv("TDM_DEBUG_LEVEL");
- if (str)
- level = str[0] - '0';
tdm_log_debug_level = level;
TDM_INFO("debug_level: %d", tdm_log_debug_level);
}
tdm_log_debug_level = level;
TDM_INFO("debug_level: %d", tdm_log_debug_level);
}
@@
-101,9
+95,6
@@
tdm_log_set_debug_level(int level)
EXTERN void
tdm_log_set_assert_level(int level)
{
EXTERN void
tdm_log_set_assert_level(int level)
{
- const char *str = getenv("TDM_ASSERT_LEVEL");
- if (str)
- level = str[0] - '0';
assert_level = level;
TDM_INFO("assert_level: %d", assert_level);
}
assert_level = level;
TDM_INFO("assert_level: %d", assert_level);
}
@@
-182,7
+173,7
@@
_tdm_log_vprint_stdout(int level, const char *fmt, va_list ap)
EXTERN void
EXTERN void
-tdm_log_print
_stdout
(int level, const char *fmt, ...)
+tdm_log_print
f
(int level, const char *fmt, ...)
{
va_list arg;
va_start(arg, fmt);
{
va_list arg;
va_start(arg, fmt);