use DontStartLogAuto to disable log auto stop in ssgo/s
This commit is contained in:
parent
e64727d2ef
commit
069a4b95c2
2
go.mod
2
go.mod
@ -16,7 +16,7 @@ require (
|
|||||||
github.com/ssgo/httpclient v1.7.8
|
github.com/ssgo/httpclient v1.7.8
|
||||||
github.com/ssgo/log v1.7.9
|
github.com/ssgo/log v1.7.9
|
||||||
github.com/ssgo/redis v1.7.8
|
github.com/ssgo/redis v1.7.8
|
||||||
github.com/ssgo/s v1.7.24
|
github.com/ssgo/s v1.7.25
|
||||||
github.com/ssgo/standard v1.7.7
|
github.com/ssgo/standard v1.7.7
|
||||||
github.com/ssgo/u v1.7.23
|
github.com/ssgo/u v1.7.23
|
||||||
)
|
)
|
||||||
|
|||||||
@ -238,6 +238,7 @@ func initConfig(opt *gojs.Obj, logger *log.Logger, vm *goja.Runtime) {
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
s.Config.KeepKeyCase = true
|
s.Config.KeepKeyCase = true
|
||||||
|
s.DontStartLogAuto = true
|
||||||
obj := map[string]any{
|
obj := map[string]any{
|
||||||
"config": func(argsIn goja.FunctionCall, vm *goja.Runtime) goja.Value {
|
"config": func(argsIn goja.FunctionCall, vm *goja.Runtime) goja.Value {
|
||||||
args := gojs.MakeArgs(&argsIn, vm)
|
args := gojs.MakeArgs(&argsIn, vm)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user