auto start and stop logger writer

This commit is contained in:
Star 2025-12-03 11:01:14 +08:00
parent 9708e2db6e
commit 53cddb12f2

2
log.go
View File

@ -58,6 +58,8 @@ func init() {
log.Wait() log.Wait()
}, },
}) })
log.Start()
} }
func getObjects(args *gojs.Arr) []any { func getObjects(args *gojs.Arr) []any {