Golang - [Iris] 日誌寫入與日誌分割

日誌切割與寫入文件 package log import ( "fmt" "log" "os" "path/filepath" "runtime" "strings" "sync" "time" ) const DATE_FORMAT = "2006-01-02" type LEVEL byte const ( TRACE LEVEL = iota INFO WARN
相關文章
相關標籤/搜索