mirror of
https://github.com/duanhf2012/origin.git
synced 2026-05-19 07:37:29 +08:00
对日志模块增加监听器
This commit is contained in:
@@ -31,3 +31,7 @@ func (slf *LogService) AppendCallDepth(calldepth int) {
|
||||
func (slf *LogService) SetLogLevel(level uint) {
|
||||
slf.logmodule.SetLogLevel(level)
|
||||
}
|
||||
|
||||
func (slf *LogService) SetListenLogFunc(listenFun sysmodule.FunListenLog) {
|
||||
slf.logmodule.SetListenLogFunc(listenFun)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user