tizen 2.3.1 release
[apps/home/minicontrol.git] / include / minicontrol-log.h
index 209fdbe..b11cf88 100755 (executable)
@@ -1,14 +1,14 @@
 /*
- * Copyright 2012  Samsung Electronics Co., Ltd
+ * Copyright (c)  2013-2015 Samsung Electronics Co., Ltd All Rights Reserved
  *
- * Licensed under the Flora License, Version 1.0 (the "License");
+ * Licensed under the Apache License, Version 2.0 (the License);
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- *  http://www.tizenopensource.org/license
+ * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
+ * distributed under the License is distributed on an AS IS BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
 #undef LOG_TAG
 #endif
 
-#define LOG_TAG "libminicontrol"
+#define LOG_TAG "MINICONTROL"
 #define DBG(fmt , args...) \
        do{ \
-               LOGD("[%s : %d] "fmt"\n",__func__,__LINE__,##args ); \
+               SECURE_LOGD("[%s : %d] "fmt"\n",__func__,__LINE__,##args ); \
        } while(0)
 
 #define INFO(fmt , args...) \
        do{ \
-               LOGI("[%s : %d] "fmt"\n",__func__,__LINE__,##args ); \
+               SECURE_LOGI("[%s : %d] "fmt"\n",__func__,__LINE__,##args ); \
        } while(0)
 
 #define WARN(fmt , args...) \
        do{ \
-               LOGI("[%s : %d] "fmt"\n",__func__,__LINE__,##args ); \
+               SECURE_LOGW("[%s : %d] "fmt"\n",__func__,__LINE__,##args ); \
        } while(0)
 
 #define ERR(fmt , args...) \
        do{ \
-               LOGI("[%s : %d] "fmt"\n",__func__,__LINE__,##args ); \
+               SECURE_LOGE("[%s : %d] "fmt"\n",__func__,__LINE__,##args ); \
        } while(0)
 
 #else /* MINICTRL_USE_DLOG */