对日志模块增加监听器

This commit is contained in:
boyce
2019-03-23 15:49:20 +08:00
parent a2c78ad9a0
commit 5be0c42ac0
3 changed files with 32 additions and 7 deletions

View File

@@ -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)
}