You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've written a simple WASM module and I'm using it within benthos pipeline.
Now I would like to log some information, fmt.Print does not work. How can I access benthos logger?
The text was updated successfully, but these errors were encountered:
Hey @webfrank 👋 I think that won't work because here the code would have to look something like r.InstantiateWithConfig(ctx, p.wasmBinary, wazero.NewModuleConfig().WithStdout(os.Stdout)) and there might be more changes required, dunno. Currently, Benthos just registers 4 functions which can be used to read / alter the message as it gets processed by the wasm module: v0_msg_set_bytes, v0_msg_as_bytes, v0_msg_set_meta, v0_msg_get_meta.
Hi,
I've written a simple WASM module and I'm using it within benthos pipeline.
Now I would like to log some information, fmt.Print does not work. How can I access benthos logger?
The text was updated successfully, but these errors were encountered: