摘要:
package mainimport ( "github.com/Sirupsen/logrus" "os" "path/filepath")func initLogger() error { dirPath, _ := filepath.Abs(filepath.Dir(pConfig.Log.Path)) //获取日志文件目录 if _, err := os.S... 阅读全文
posted @ 2017-09-01 10:19
张伯雨
阅读(246)
评论(0)
推荐(0)
2017年9月1日