自定义日志深度

This commit is contained in:
boyce
2019-03-06 12:41:32 +08:00
parent 3e5a288de7
commit c22c193e70
2 changed files with 12 additions and 2 deletions

View File

@@ -23,3 +23,7 @@ func (slf *LogService) Printf(level uint, format string, v ...interface{}) {
func (slf *LogService) Print(level uint, v ...interface{}) {
slf.logmodule.Print(level, v...)
}
func (slf *LogService) AppendCallDepth(calldepth int) {
slf.logmodule.AppendCallDepth(calldepth)
}