mirror of
https://github.com/Strum355/mcshader-lsp.git
synced 2025-08-03 16:39:16 +00:00
reimplemented+simplified switchable server logging
don't know how well it interacts with `log` (or upcoming tracing), so this may be temporary and/or incomplete. But it works for my application code at the least (as opposed to library code)
This commit is contained in:
parent
e7221304da
commit
a797d5b378
7 changed files with 54 additions and 44 deletions
|
@ -7,7 +7,7 @@ pub struct SourceNum(usize);
|
|||
|
||||
impl Display for SourceNum {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
f.write_str(format!("{}", self.0).as_str())
|
||||
f.write_str(self.0.to_string().as_str())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue