2 * Network Configuration Module
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. All rights reserved.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
21 * This file declares wifi direct wpasupplicant plugin functions and structures.
23 * @file wfd-plugin-log.h
24 * @author Gibyoung Kim (lastkgb.kim@samsung.com)
28 #ifndef __WFD_PLUGIN_LOG_H_
29 #define __WFD_PLUGIN_LOG_H_
35 #define LOG_TAG "WIFI_DIRECT_PLUGIN"
37 #define WDP_LOGV(format, args...) LOGV(format, ##args)
38 #define WDP_LOGD(format, args...) LOGD(format, ##args)
39 #define WDP_LOGI(format, args...) LOGI(format, ##args)
40 #define WDP_LOGW(format, args...) LOGW(format, ##args)
41 #define WDP_LOGE(format, args...) LOGE(format, ##args)
42 #define WDP_LOGF(format, args...) LOGF(format, ##args)
44 #define __WDP_LOG_FUNC_ENTER__ LOGD("Enter")
45 #define __WDP_LOG_FUNC_EXIT__ LOGD("Quit")
47 #define WDP_SECLOGI(format, args...) SECURE_LOG(LOG_INFO, LOG_TAG, format, ##args)
48 #define WDP_SECLOGD(format, args...) SECURE_LOG(LOG_DEBUG, LOG_TAG, format, ##args)
52 #define WDP_LOGV(format, args...)
53 #define WDP_LOGD(format, args...)
54 #define WDP_LOGI(format, args...)
55 #define WDP_LOGW(format, args...)
56 #define WDP_LOGE(format, args...)
57 #define WDP_LOGF(format, args...)
59 #define __WDP_LOG_FUNC_ENTER__
60 #define __WDP_LOG_FUNC_EXIT__
62 #define WDP_SECLOGI(format, args...)
63 #define WDP_SECLOGD(format, args...)
67 #endif /* __WFD_PLUGIN_LOG_H_ */