Skip to content

Commit

Permalink
use debug logger
Browse files Browse the repository at this point in the history
  • Loading branch information
zetaab committed Oct 25, 2023
1 parent 58b74e2 commit f5a4e61
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion header.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func main() {

// handleRequest implements a simple request middleware.
func (mw *Middleware) handleRequest(req api.Request, resp api.Response) (next bool, reqCtx uint32) {
handler.Host.Log(api.LogLevelInfo, "hello from handleRequest")
handler.Host.Log(api.LogLevelDebug, "hello from handleRequest debug")
mw.Start = time.Now()
for k, v := range mw.Config.Headers {
req.Headers().Add(k, v)
Expand Down
Binary file modified header.wasm
Binary file not shown.

0 comments on commit f5a4e61

Please sign in to comment.