mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-05-25 16:00:35 +00:00
fix 3rd party logger not correct output (#1482)
This commit is contained in:
@@ -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