WIP: unit test done, need further test

This commit is contained in:
2025-05-25 09:12:39 +10:00
parent 6e84adbf16
commit 61d735bbad
11 changed files with 130 additions and 47 deletions

View File

@@ -46,7 +46,7 @@ func main() {
_ = file.Close()
}()
if err = wingmate.NewLog(file); err == nil {
if err = wingmate.NewLog(file, wingmate.Time|wingmate.Caller); err == nil {
wingmate.Log().Info().Msg(logMessage)
}
}