fix 3rd party logger not correct output (#1482)
This commit is contained in:
1 parent
f01eeac300
commit
83e24e8ceb
1 file changed
+1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user