We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Odin: dev-2025-01:1613728a6 OS: Windows 10 Professional (version: 22H2), build 19045.5371 CPU: Intel(R) Core(TM) i7-6950X CPU @ 3.00GHz RAM: 32674 MiB Backend: LLVM 18.1.8
On js_wasm32 platform, this should log a single line:
log.info("Hellope")
It logs two lines, something like this:
hello <empty string>
In a wasm program, such as vendor/wgpu/examples/glfw, add this to the top of main:
vendor/wgpu/examples/glfw
context.logger = log.create_console_logger() log.info("hello")
Run it, open the web debug console and look. It will print something like:
Note: If you use fmt.println("hello") then it is a single line. So something is up with the path the logger takes.
fmt.println("hello")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Context
Expected Behavior
On js_wasm32 platform, this should log a single line:
Current Behavior
It logs two lines, something like this:
Failure Information (for bugs)
Steps to Reproduce
In a wasm program, such as
vendor/wgpu/examples/glfw
, add this to the top of main:Run it, open the web debug console and look. It will print something like:
Note: If you use
fmt.println("hello")
then it is a single line. So something is up with the path the logger takes.The text was updated successfully, but these errors were encountered: