mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-17 23:06:30 -05:00
register logger on start
This commit is contained in:
parent
f4c35db968
commit
49b270152a
@ -66,6 +66,7 @@ func (g *Instance) Start() error {
|
||||
if err := g.initErrorLogger(); err != nil {
|
||||
return newError("failed to initialize error logger").Base(err).AtWarning()
|
||||
}
|
||||
log.RegisterHandler(g)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user