Skip to content

Commit

Permalink
fix: use log.Print instead of log.Printf in logStd (#67)
Browse files Browse the repository at this point in the history
Fixes an issue where `%` is interpreted as a format identifier instead
of printed verbatim
  • Loading branch information
zshipko authored Jun 25, 2024
1 parent 7d5e112 commit 9338d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extism.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ type Plugin struct {
}

func logStd(level LogLevel, message string) {
log.Printf(message)
log.Print(message)
}

// SetLogger sets a custom logging callback
Expand Down

0 comments on commit 9338d91

Please sign in to comment.