TheBevyFlock / bevy_cli

A Bevy CLI tool.
Apache License 2.0
32 stars 6 forks source link

Add lint: Disable trace level logging. #46

Open janhohenheim opened 2 months ago

janhohenheim commented 2 months ago

Needs to be disabled on log for native and on tracing for Wasm.

BD103 commented 2 months ago

How do you disable it for WASM? I know log has a feature to compile out trace!() logs, but I didn't think tracing did.

janhohenheim commented 2 months ago

The same way: https://github.com/TheBevyFlock/bevy_quickstart/blob/main/Cargo.toml#L10-L19