4 * Copyright 2012 Samsung Electronics Co., Ltd
6 * Contact: Hocheol Seo <hocheol.seo@samsung.com>
7 * GirishAshok Joshi <girish.joshi@samsung.com>
8 * DoHyun Pyun <dh79.pyun@samsung.com>
10 * Licensed under the Flora License, Version 1.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
14 * http://www.tizenopensource.org/license
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
32 * ret_if(), retv_if(), retm_if(), retvm_if()
33 * If expr is true, current function return.
34 * Postfix 'v' means that it has a return value and
35 * 'm' means that it has output message.
43 #define LOG_TAG "BLUETOOTH_SHARE_UI"
45 #define INFO(fmt, arg...) \
48 #define ERR(fmt, arg...) \
51 #define DBG(fmt, arg...) \
54 #define DBG_SECURE(fmt, args...) SECURE_SLOGD(fmt, ##args)
55 #define ERR_SECURE(fmt, args...) SECURE_SLOGE(fmt, ##args)
56 #define INFO_SECURE(fmt, args...) SECURE_SLOGI(fmt, ##args)
58 #define FN_START DBG("[ENTER FUNC]");
59 #define FN_END DBG("[EXIT FUNC]");
61 #define ret_if(expr) do { \
66 #define retv_if(expr, val) do { \
71 #define retm_if(expr, fmt, arg...) do { \
77 #define retvm_if(expr, val, fmt, arg...) do { \
87 #endif /* __APPLOG_H__ */