Use eprintln to log

This commit is contained in:
Clément Renault 2024-09-24 15:59:50 +02:00
parent 92678383d6
commit 2d1caf27df
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -176,7 +176,7 @@ impl<MF: MergeFunction> CboCachedSorter<MF> {
self.write_entry(key, deladd)?; self.write_entry(key, deladd)?;
} }
tracing::info!( eprintln!(
"LruCache stats: {} <= 20 bytes ({}%) on a total of {} insertions", "LruCache stats: {} <= 20 bytes ({}%) on a total of {} insertions",
self.fitted_in_key, self.fitted_in_key,
(self.fitted_in_key as f32 / self.total_insertions as f32) * 100.0, (self.fitted_in_key as f32 / self.total_insertions as f32) * 100.0,