提交 11ab7bb0 编写于 作者: X xionglei6

fix:log fix

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 38c0e3c2
......@@ -36,7 +36,7 @@ ohos_shared_library("libbegetutil") {
"syscap/init_syscap.c",
]
sources += fs_manager_sources
defines = [ "INIT_AGENT"]
defines = [ "INIT_AGENT" ]
include_dirs = [
"./include",
"//third_party/bounds_checking_function/include",
......@@ -81,7 +81,7 @@ ohos_shared_library("libbeget_proxy") {
"//third_party/bounds_checking_function/include",
]
defines = [ "INIT_AGENT"]
defines = [ "INIT_AGENT" ]
deps = [
"//base/startup/init_lite/services/param/watcher:param_watcheragent",
"//base/startup/init_lite/services/utils:libinit_utils",
......
......@@ -50,7 +50,7 @@ void InitLog(InitLogLevel logLevel, unsigned int domain, const char *tag, const
#define BASE_DOMAIN 0xA000
#ifndef BEGET_DOMAIN
#define BEGET_DOMAIN BASE_DOMAIN + 0xb
#define BEGET_DOMAIN (BASE_DOMAIN + 0xb)
#endif
#define BEGET_LABEL "BEGET"
#define BEGET_LOGI(fmt, ...) STARTUP_LOGI(BEGET_DOMAIN, BEGET_LABEL, fmt, ##__VA_ARGS__)
......
......@@ -33,7 +33,7 @@ extern "C" {
#endif
#ifndef INIT_LOG_DOMAIN
#define INIT_LOG_DOMAIN BASE_DOMAIN + 1
#define INIT_LOG_DOMAIN (BASE_DOMAIN + 1)
#endif
void OpenLogDevice(void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册