add new line

This commit is contained in:
zhiqiang feng
2020-12-29 11:43:43 +08:00
parent e25420a20e
commit 8ed16fd502
+1 -1
View File
@@ -17,7 +17,7 @@ var exp, _ = regexp.Compile(Expression)
var RawLog *rotatelogs.RotateLogs var RawLog *rotatelogs.RotateLogs
func Append(data string) bool { func Append(data string) bool {
buffer += data buffer += (data + "\n")
return check() return check()
} }