4 * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
7 * Genie Kim <daejins.kim@samsung.com>
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
22 #ifndef _DEBUG_UTIL_H_
23 #define _DEBUG_UTIL_H_
33 #define TAG_GPS_MANAGER "LBS_SERVER_GPS"
34 #define TAG_NPS_MANAGER "LBS_SERVER_NPS"
36 #define TAG_COMMON_MANAGER "LBS_SERVER"
39 #define DBG_LOW LOG_DEBUG
40 #define DBG_INFO LOG_INFO
41 #define DBG_WARN LOG_WARN
42 #define DBG_ERR LOG_ERROR
44 #define LOG_GPS(dbg_lvl,fmt,args...) SLOG(dbg_lvl, TAG_GPS_MANAGER, fmt, ##args)
45 #define LOG_NPS(dbg_lvl,fmt,args...) SLOG(dbg_lvl, TAG_NPS_MANAGER, fmt,##args)
47 #define LOG_COMMON(dbg_lvl,fmt,args...) SLOG(dbg_lvl, TAG_COMMON_MANAGER, fmt, ##args)
50 #define FUNC_ENTRANCE_SERVER LOG_GPS(DBG_LOW, "[%s] Entered!!", __func__);
55 #endif /* _DEBUG_UTIL_H_ */