mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -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 {
|
if err := g.initErrorLogger(); err != nil {
|
||||||
return newError("failed to initialize error logger").Base(err).AtWarning()
|
return newError("failed to initialize error logger").Base(err).AtWarning()
|
||||||
}
|
}
|
||||||
|
log.RegisterHandler(g)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user