mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-26 06:01:47 +03:00
Avoid opening log output before start &
Replace tracing logs with task monitor
This commit is contained in:
@@ -9,7 +9,14 @@ import (
|
||||
var std ContextLogger
|
||||
|
||||
func init() {
|
||||
std = NewFactory(Formatter{BaseTime: time.Now()}, os.Stderr, nil).Logger()
|
||||
std = NewDefaultFactory(
|
||||
context.Background(),
|
||||
Formatter{BaseTime: time.Now()},
|
||||
os.Stderr,
|
||||
"",
|
||||
nil,
|
||||
false,
|
||||
).Logger()
|
||||
}
|
||||
|
||||
func StdLogger() ContextLogger {
|
||||
|
||||
Reference in New Issue
Block a user