Skip to content

Commit

Permalink
update implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-carlton committed Oct 27, 2024
1 parent 78d0a40 commit f19ee72
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/logging/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const (
// MyCallersCallersCaller is the setting for the function that called the function that called the function that called the function calling MyCaller.
MyCallersCallersCaller = 6

eleven = 11
eleven = 5

stackDepth = 32

Expand Down Expand Up @@ -322,10 +322,10 @@ func Callers(skip int, short bool) ([]slog.Source, error) {
break
}
}
// fmt.Printf("callers...\n")
// for i, c := range callers {
// fmt.Printf("%d: %s(%d) %s\n", i, c.File, c.Line, c.Function)
// }
fmt.Printf("callers...\n")
for i, c := range callers {
fmt.Printf("%d: %s(%d) %s\n", i, c.File, c.Line, c.Function)
}
return callers, nil
}

Expand Down

0 comments on commit f19ee72

Please sign in to comment.