日志 可以通过XML自定义日志输出: <? xml version = " 1.0 " encoding = " utf-8 " ?> .... logs . InitFromXMLFile ( "./config.xml" ) // 用 XML 初始化 logs logs . Debug