10b966c5eSopenharmony_ci/* 20b966c5eSopenharmony_ci * Copyright (c) 2022 Huawei Device Co., Ltd. 30b966c5eSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 40b966c5eSopenharmony_ci * you may not use this file except in compliance with the License. 50b966c5eSopenharmony_ci * You may obtain a copy of the License at 60b966c5eSopenharmony_ci * 70b966c5eSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 80b966c5eSopenharmony_ci * 90b966c5eSopenharmony_ci * Unless required by applicable law or agreed to in writing, software 100b966c5eSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 110b966c5eSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 120b966c5eSopenharmony_ci * See the License for the specific language governing permissions and 130b966c5eSopenharmony_ci * limitations under the License. 140b966c5eSopenharmony_ci */ 150b966c5eSopenharmony_ci#ifndef BT_VENDOR_LOG_H 160b966c5eSopenharmony_ci#define BT_VENDOR_LOG_H 170b966c5eSopenharmony_ci 180b966c5eSopenharmony_ci#include "hilog/log.h" 190b966c5eSopenharmony_ci 200b966c5eSopenharmony_ci#define HILOGD(...) HiLogPrint(LOG_CORE, LOG_DEBUG, LOG_DOMAIN, "BTVENDOR", __VA_ARGS__) 210b966c5eSopenharmony_ci#define HILOGI(...) HiLogPrint(LOG_CORE, LOG_INFO, LOG_DOMAIN, "BTVENDOR", __VA_ARGS__) 220b966c5eSopenharmony_ci#define HILOGW(...) HiLogPrint(LOG_CORE, LOG_WARN, LOG_DOMAIN, "BTVENDOR", __VA_ARGS__) 230b966c5eSopenharmony_ci#define HILOGE(...) HiLogPrint(LOG_CORE, LOG_ERROR, LOG_DOMAIN, "BTVENDOR", __VA_ARGS__) 240b966c5eSopenharmony_ci 250b966c5eSopenharmony_ci#endif