Skip to content

Commit ad4a677

Browse files
ref: Delete dead logging code (#2528)
Unsure what this is meant for, seems like we should just remove it. Depends on: - #2527
1 parent 111a1b7 commit ad4a677

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

src/utils/logging.rs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,6 @@ pub fn set_quiet_mode(is_quiet: bool) {
2323
QUIET_MODE.store(is_quiet, Ordering::Relaxed);
2424
}
2525

26-
// NOTE: Remove `allow`s after first use.
27-
#[expect(unused_macros)]
28-
macro_rules! quiet_println {
29-
($($tt:tt)*) => {{
30-
if !crate::utils::logging::is_quiet_mode() {
31-
println!($($tt)*);
32-
}
33-
}};
34-
}
35-
#[expect(unused_imports)]
36-
pub(crate) use quiet_println;
37-
38-
// NOTE: Remove `allow`s after first use.
39-
#[expect(unused_macros)]
40-
macro_rules! quiet_eprintln {
41-
($($tt:tt)*) => {{
42-
if !crate::utils::logging::is_quiet_mode() {
43-
eprintln!($($tt)*);
44-
}
45-
}};
46-
}
47-
#[expect(unused_imports)]
48-
pub(crate) use quiet_eprintln;
49-
5026
// Globally shared ProgressBar instance.
5127
lazy_static! {
5228
static ref PROGRESS_BAR: RwLock<Option<Weak<ProgressBar>>> = RwLock::new(None);

0 commit comments

Comments
 (0)