warning("test1"); if(infolog.level(1) == Exception::Info) //输出Warning后,判断是断续 { info("test2"); } else { info("test3"); }