support udp

This commit is contained in:
TenderIronh
2022-02-26 18:50:57 +08:00
parent 3653ec19cd
commit 26e0fdf605
10 changed files with 349 additions and 183 deletions
+2 -2
View File
@@ -110,10 +110,10 @@ func (vl *V8log) checkFile() {
for l, logFile := range vl.files {
f, e := logFile.Stat()
if e != nil {
break
continue
}
if f.Size() <= vl.maxLogSize {
break
continue
}
logFile.Close()
fname := f.Name()