removing dead code
[platform/core/location/geofence-server.git] / module / log.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 #ifndef __MOD_LOG_H__
17 #define __MOD_LOG_H__
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22
23 #define GEOFENCE_SERVER_DLOG
24
25 #include <dlog.h>
26 #define TAG_GEOFENCE_MOD      "GEOFENCE_MOD"
27
28 #define MOD_LOGD(fmt, args...)  LOG(LOG_DEBUG, TAG_GEOFENCE_MOD, fmt, ##args)
29 #define MOD_LOGW(fmt, args...)  LOG(LOG_WARN,  TAG_GEOFENCE_MOD, fmt, ##args)
30 #define MOD_LOGI(fmt, args...)  LOG(LOG_INFO,  TAG_GEOFENCE_MOD, fmt, ##args)
31 #define MOD_LOGE(fmt, args...)  LOG(LOG_ERROR, TAG_GEOFENCE_MOD, fmt, ##args)
32 #define MOD_SECLOG(fmt, args...)  SECURE_LOG(LOG_DEBUG, TAG_GEOFENCE_MOD, fmt, ##args)
33
34 #define FUNC_ENTRANCE_SERVER         LOGD_GEOFENCE(">>> Entered!!");
35
36 #ifdef __cplusplus
37 }
38 #endif
39 #endif