tizen 2.4 release
[framework/location/geofence-dbus.git] / server / include / geofence_dbus_server_priv.h
1 /* Copyright 2014 Samsung Electronics Co., Ltd All Rights Reserved
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15
16 /**
17  * @file        geofence_dbus_server_priv.h
18  * @brief       This file contains the log tags for the geofence dbus server.
19  */
20
21 #ifndef __GEOFENCE_DBUS_SERVER_PRIV_H__
22 #define __GEOFENCE_DBUS_SERVER_PRIV_H__
23
24 __BEGIN_DECLS
25 #ifdef FEATURE_DLOG_DEBUG
26 #include <dlog.h>
27 #ifdef LOG_TAG
28 #undef LOG_TAG
29 #define LOG_TAG "GEOFENCE_DBUS_SERVER"
30 #endif
31 #define GEOFENCE_DBUS_SERVER_LOGI(fmt, args...)  { LOGI(fmt, ##args); }
32 #define GEOFENCE_DBUS_SERVER_LOGD(fmt, args...)  { LOGD(fmt, ##args); }
33 #define GEOFENCE_DBUS_SERVER_LOGW(fmt, args...)  { LOGW(fmt, ##args); }
34 #define GEOFENCE_DBUS_SERVER_LOGE(fmt, args...)  { LOGE(fmt, ##args); }
35 #define GEOFENCE_DBUS_SERVER_SECLOG(fmt, args...)  { SECURE_LOGD(fmt, ##args); }
36 #else
37 #define GEOFENCE_DBUS_SERVER_LOGI(fmt, args...)
38 #define GEOFENCE_DBUS_SERVER_LOGD(fmt, args...)
39 #define GEOFENCE_DBUS_SERVER_LOGW(fmt, args...)
40 #define GEOFENCE_DBUS_SERVER_LOGE(fmt, args...)
41 #define GEOFENCE_DBUS_SERVER_SECLOG(fmt, args...)
42 #endif
43 __END_DECLS
44 #endif /*__GEOFENCE_DBUS_SERVER_PRIV_H__*/