10fbfc30aSopenharmony_ci/**
20fbfc30aSopenharmony_ci * Copyright (c) 2022 Huawei Device Co., Ltd.
30fbfc30aSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
40fbfc30aSopenharmony_ci * you may not use this file except in compliance with the License.
50fbfc30aSopenharmony_ci * You may obtain a copy of the License at
60fbfc30aSopenharmony_ci *
70fbfc30aSopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
80fbfc30aSopenharmony_ci *
90fbfc30aSopenharmony_ci * Unless required by applicable law or agreed to in writing, software
100fbfc30aSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
110fbfc30aSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
120fbfc30aSopenharmony_ci * See the License for the specific language governing permissions and
130fbfc30aSopenharmony_ci * limitations under the License.
140fbfc30aSopenharmony_ci */
150fbfc30aSopenharmony_ci
160fbfc30aSopenharmony_ci#ifndef NAPI_CALENDAR_LOG_H
170fbfc30aSopenharmony_ci#define NAPI_CALENDAR_LOG_H
180fbfc30aSopenharmony_ci
190fbfc30aSopenharmony_ci#ifndef LOG_TAG
200fbfc30aSopenharmony_ci#define LOG_TAG "CalendarApi"
210fbfc30aSopenharmony_ci#undef LOG_DOMAIN
220fbfc30aSopenharmony_ci#define LOG_DOMAIN 0x050a
230fbfc30aSopenharmony_ci#endif
240fbfc30aSopenharmony_ci
250fbfc30aSopenharmony_ci#include "hilog/log.h"
260fbfc30aSopenharmony_ci
270fbfc30aSopenharmony_cinamespace OHOS::CalendarApi {
280fbfc30aSopenharmony_ci#define LOG_DEBUG(fmt, ...) HILOG_DEBUG(LOG_APP, fmt, ##__VA_ARGS__)
290fbfc30aSopenharmony_ci#define LOG_INFO(fmt, ...) HILOG_INFO(LOG_APP, fmt, ##__VA_ARGS__)
300fbfc30aSopenharmony_ci#define LOG_WARN(fmt, ...) HILOG_WARN(LOG_APP, fmt, ##__VA_ARGS__)
310fbfc30aSopenharmony_ci#define LOG_ERROR(fmt, ...) HILOG_ERROR(LOG_APP, fmt, ##__VA_ARGS__)
320fbfc30aSopenharmony_ci#define LOG_FATAL(fmt, ...) HILOG_FATAL(LOG_APP, fmt, ##__VA_ARGS__)
330fbfc30aSopenharmony_ci} // namespace OHOS::CalendarApi
340fbfc30aSopenharmony_ci#endif
350fbfc30aSopenharmony_ci
36