mirror of
https://github.com/duanhf2012/origin.git
synced 2026-03-05 21:57:33 +08:00
自定义日志深度
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user