Package version up to 2.7.1
[platform/core/uifw/libtdm.git] / common / tdm_log.c
index 40a846a..975eb19 100644 (file)
@@ -9,7 +9,7 @@
  *          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
@@ -81,9 +81,6 @@ tdm_log_enable_color(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);
 }
@@ -91,9 +88,6 @@ tdm_log_enable_dlog(unsigned int enable)
 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);
 }
@@ -101,9 +95,6 @@ tdm_log_set_debug_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);
 }