dev: disable all runtime check to log::debug! (#912)

This commit is contained in:
Myriad-Dreamin 2024-11-29 19:52:42 +08:00 committed by GitHub
parent 8b495fe2ab
commit ed79045588
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 158 additions and 159 deletions

View file

@ -239,7 +239,7 @@ impl RenameFileWorker<'_> {
if importing.map_or(true, |i| i != self.def_fid) {
return None;
}
log::debug!("import: {span:?} -> {importing:?} v.s. {:?}", self.def_fid);
crate::log_debug_ct!("import: {span:?} -> {importing:?} v.s. {:?}", self.def_fid);
// rename_importer(self.ctx, &ref_src, *span, &self.diff, edits);
let root = LinkedNode::new(src.root());