feat: clean up logs (#1473)

This commit is contained in:
Myriad-Dreamin 2025-03-10 11:41:41 +08:00 committed by GitHub
parent 2639dbd49e
commit be1bf802c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 14 additions and 14 deletions

View file

@ -103,7 +103,7 @@ impl LspWorldExt for tinymist_project::LspWorld {
fn uri_for_id(&self, fid: FileId) -> Result<Url, FileError> {
let res = path_res_to_url(self.path_for_id(fid)?);
log::info!("uri_for_id: {fid:?} -> {res:?}");
crate::log_debug_ct!("uri_for_id: {fid:?} -> {res:?}");
res.map_err(|err| FileError::Other(Some(eco_format!("convert to url: {err:?}"))))
}