Adjust log level
[platform/core/appfw/message-port.git] / src / inc / message-port-log.h
1 /*
2  * Open Service Platform
3  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18
19 #ifndef __APPFW_MESSAGE_PORT_LOG_H__
20 #define __APPFW_MESSAGE_PORT_LOG_H__
21
22 #include <dlog.h>
23 #include <bundle.h>
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29 #undef LOG_TAG
30 #define LOG_TAG "MESSAGE_PORT"
31
32 #define _LOGE(fmt, arg...) LOGE(fmt, ##arg)
33 #define _LOGI(fmt, arg...) LOGI(fmt, ##arg)
34 #define _LOGD(fmt, arg...) LOGD(fmt, ##arg)
35
36 #define _SECURE_LOGE(fmt, arg...) SECURE_LOGE(fmt, ##arg)
37 #define _SECURE_LOGI(fmt, arg...) SECURE_LOGI(fmt, ##arg)
38 #define _SECURE_LOGD(fmt, arg...) SECURE_LOGD(fmt, ##arg)
39
40 /**
41  * @}
42  */
43
44 #ifdef __cplusplus
45 }
46 #endif
47
48 #endif /* __APPFW_MESSAGE_PORT_LOG_H__ */