Open valentinegb opened 2 months ago
Having log
is kind of a must, especially since Zed itself uses log
. Using println!()
instead (which does work) makes debugging messages difficult to find as opposed to debug!()
and appears in Zed's output even if RUST_LOG
were set to none
.
Check for existing issues
Describe the bug / provide steps to reproduce it
Adding the
log
crate to an extension'sCargo.toml
and using its macros appears to result in no output. Here's what I have inCargo.toml
, specifically:In
src/lib.rs
I simply usedlog::debug!()
in theExtension::language_server_command()
declaration. I am running Zed withRUST_LOG=debug
and I can see other debug messages.Environment
Zed: v0.151.1 (Zed Preview) OS: macOS 15.1.0 Memory: 8 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log