fix: removed debug log
This commit is contained in:
parent
2a3fcd390a
commit
b44771fddb
1 changed files with 0 additions and 3 deletions
|
@ -15,7 +15,6 @@
|
|||
package golog
|
||||
|
||||
import (
|
||||
"log"
|
||||
"runtime"
|
||||
"strings"
|
||||
"time"
|
||||
|
@ -69,13 +68,11 @@ func (logger *Logger) callStack() (response []runtime.Frame) {
|
|||
// extract self package
|
||||
if self == "" {
|
||||
self = logger.framePackage(frame)
|
||||
log.Println("self:", self, frame.Function) // TODO: remove
|
||||
continue
|
||||
}
|
||||
|
||||
// ignore self
|
||||
currentPackage := logger.framePackage(frame)
|
||||
log.Println("package:", currentPackage, frame.Function) // TODO: remove
|
||||
if currentPackage != self {
|
||||
response = append(response, frame)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue