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 2c0f278 commit 0851a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/logging/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func ToJSON(log *slog.Logger, data interface{}) string {

func Debug(pattern string, args ...interface{}) {
if LogLevel <= slog.LevelDebug {
pattern := CallerText(MyCallersCaller) + pattern
pattern := CallerText(MyCallersCallersCaller) + pattern
fmt.Printf(pattern, args...)
}
}
Expand Down

0 comments on commit 0851a3c

Please sign in to comment.