File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ ProgStatus =
172172#define bdyellow (str ) xy_str_to_bold(xy_str_to_yellow(str))
173173#define bdpurple (str ) xy_str_to_bold(xy_str_to_purple(str))
174174
175- // 2系列都是带有括号的
175+ /* 2系列都是带有括号的 */
176176#define chsrc_succ2 (str ) xy_succ_brkt(App_Name,ENGLISH?"SUCCEED":"成功",str)
177177#define chsrc_log2 (str ) xy_info_brkt(App_Name,"LOG",str)
178178#define chsrc_warn2 (str ) xy_warn_brkt(App_Name,ENGLISH?"WARN":"警告",str)
@@ -184,13 +184,27 @@ ProgStatus =
184184#endif
185185#define chsrc_verbose2 (str ) xy_info_brkt(App_Name,"VERBOSE",str)
186186
187+ /**
188+ * @note 输出在 stdout 中
189+ */
187190void
188191chsrc_note2 (const char * str )
189192{
190193 char * msg = ENGLISH ? "NOTE" : "提示" ;
194+ xy_log_brkt (blue (App_Name ), bdblue (msg ), blue (str ));
195+ }
196+
197+ /**
198+ * @note 输出在 stdout 中
199+ */
200+ void
201+ chsrc_alert2 (const char * str )
202+ {
203+ char * msg = ENGLISH ? "ALERT" : "提醒" ;
191204 xy_log_brkt (yellow (App_Name ), bdyellow (msg ), yellow (str ));
192205}
193206
207+
194208void
195209chsrc_log_write (const char * filename )
196210{
You can’t perform that action at this time.
0 commit comments