先看效果
黑色背景 白色背景 一万次耗时代码调用
log.Info("this is info message")
log.Error("this is error message")
log.Debug("this is debug message")
log.Warn("this is warn message",12345)
//log.Info("今年",18,"岁")
log.Info("this is info message")
log.Error("this is error message")
log.Debug("this is debug message")
log.Warn("this is warn message",12345)
//log.Info("今年",18,"岁")
本文标题:go自定义彩色log
本文链接:https://www.haomeiwen.com/subject/kdhyvftx.html
网友评论