@@ -494,25 +494,29 @@ _xy_log_remarkably (int level, const char *prompt1, const char *prompt2, const c
494494 else if (level & XY_Log_Success )
495495 {
496496 /* [app 成功] [app success] */
497- str = xy_strjoin (6 , "[" , prompt1 , " " , xy_str_to_green (prompt2 ), "] " , xy_str_to_green (content ));
497+ str = xy_strjoin (6 ,
498+ "[" , xy_str_to_green (prompt1 ), " " , xy_str_to_bold (xy_str_to_green (prompt2 )), "] " , xy_str_to_green (content ));
498499 }
499500 else if (level & XY_Log_Info )
500501 {
501502 /* [app 信息] [app info]
502503 [app 提示] [app notice]
503504 */
504- str = xy_strjoin (6 , "[" , prompt1 , " " , xy_str_to_blue (prompt2 ), "] " , xy_str_to_blue (content ));
505+ str = xy_strjoin (6 ,
506+ "[" , xy_str_to_blue (prompt1 ), " " , xy_str_to_bold (xy_str_to_blue (prompt2 )), "] " , xy_str_to_blue (content ));
505507 }
506508 else if (level & XY_Log_Warn )
507509 {
508510 /* [app 警告] [app warn] */
509- str = xy_strjoin (6 , "[" , prompt1 , " " , xy_str_to_yellow (prompt2 ), "] " , xy_str_to_yellow (content ));
511+ str = xy_strjoin (6 ,
512+ "[" , xy_str_to_yellow (prompt1 ), " " , xy_str_to_bold (xy_str_to_yellow (prompt2 )), "] " , xy_str_to_yellow (content ));
510513 to_stderr = true;
511514 }
512515 else if (level & XY_Log_Error )
513516 {
514517 /* [app 错误] [app error] */
515- str = xy_strjoin (6 , "[" , prompt1 , " " , xy_str_to_red (prompt2 ), "] " , xy_str_to_red (content ));
518+ str = xy_strjoin (6 ,
519+ "[" , xy_str_to_red (prompt1 ), " " , xy_str_to_bold (xy_str_to_red (prompt2 )), "] " , xy_str_to_red (content ));
516520 to_stderr = true;
517521 }
518522 else
0 commit comments