Write方法去掉换行符
logger.go @@ -14,7 +14,7 @@ } func (l *BLog) Write(buf []byte) (n int, err error) { l.logger.Debug(string(buf)) l.logger.Debug(strings.Replace(string(buf),"\n","", -1)) return len(buf),nil }