• Tsaiilin's avatar
    logger: 日志文件及日志级别功能修改 · 49627f30
    Tsaiilin authored
    1. 日志文件只保留run、error、trace三种,去除的类型除error外都会输入到run中
    2. 日志级别从数字指定改变为使用 debug info error
       等指定,兼容之前的配置文件,如果无法识别的字符串会默认为 info 级别
    3. debug 模式下日志会同时输出到控制台和文件,其他模式只输出到文件
    49627f30
Name
Last commit
Last update
..
logger.go Loading commit data...