Skip to content

Commit 71ae856

Browse files
committed
提供进程成功启动并初始化完成的标准信息。
[INFO]: The required components have been found!
1 parent 3fe9beb commit 71ae856

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

kbe/src/lib/server/components.cpp

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,17 @@ bool Components::findInterfaces()
11281128
bool Components::process()
11291129
{
11301130
if(componentType_ == MACHINE_TYPE)
1131+
{
1132+
INFO_MSG("Components::process(): The required components have been found!\n");
1133+
1134+
#if KBE_PLATFORM == PLATFORM_WIN32
1135+
DebugHelper::getSingleton().set_normalcolor();
1136+
printf("[INFO]: The required components have been found!\n");
1137+
DebugHelper::getSingleton().set_normalcolor();
1138+
#endif
1139+
11311140
return false;
1141+
}
11321142

11331143
if(state_ == 0)
11341144
{
@@ -1232,6 +1242,14 @@ bool Components::process()
12321242
return true;
12331243
}
12341244

1245+
INFO_MSG("Components::process(): The required components have been found!\n");
1246+
1247+
#if KBE_PLATFORM == PLATFORM_WIN32
1248+
DebugHelper::getSingleton().set_normalcolor();
1249+
printf("[INFO]: The required components have been found!\n");
1250+
DebugHelper::getSingleton().set_normalcolor();
1251+
#endif
1252+
12351253
return false;
12361254
}
12371255

0 commit comments

Comments
 (0)