fix 3rd party logger not correct output (#1482)
This commit is contained in:
parent
f01eeac300
commit
83e24e8ceb
1 changed files with 1 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ func getCallerInfo() (string, int, string) {
|
|||
|
||||
// bypass common loggers
|
||||
if strings.HasSuffix(file, "/logger.go") ||
|
||||
strings.HasSuffix(file, "/logger_3rd_party.go") ||
|
||||
strings.HasSuffix(file, "/log.go") {
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue