global_i18n/frameworks/intl/include/i18n_hilog.h
sunyaozu 0c4185676c replace hilog with macro define
Signed-off-by: sunyaozu <sunyaozu@huawei.com>
2024-03-06 18:02:20 +08:00

27 lines
932 B
C

/*
* Copyright (c) 2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef OHOS_GLOBAL_I18N_I18N_HILOG
#define OHOS_GLOBAL_I18N_I18N_HILOG
#include "hilog/log.h"
#undef LOG_DOMAIN
#define LOG_DOMAIN 0xD001E00
#undef LOG_TAG
#define LOG_TAG "GLOBAL_I18N"
#define HILOG_INFO_I18N(...) HILOG_INFO(LOG_CORE, __VA_ARGS__)
#define HILOG_ERROR_I18N(...) HILOG_ERROR(LOG_CORE, __VA_ARGS__)
#endif