fix: issue with singbox 1.8.9

This commit is contained in:
Hiddify
2024-03-18 10:53:54 +01:00
parent aba593322e
commit aab998fae9
5 changed files with 51 additions and 38 deletions

View File

@@ -45,9 +45,14 @@ func Setup(basePath string, workingPath string, tempPath string, statusPort int6
log.Options{
DefaultWriter: defaultWriter,
BaseTime: time.Now(),
Observable: false,
Observable: true,
// Options: option.LogOptions{
// Disabled: false,
// Level: "trace",
// Output: "stdout",
// },
})
logFactory = &factory
coreLogFactory = factory
return err
}