mirror of
https://github.com/ivabus/speakersafetyd
synced 2024-11-25 17:55:06 +03:00
Align debug prints
Previously, debug!() prints of speaker name, temperatures, power and gain were jumping from left to right, now they are aligned. Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
8ff0db2e96
commit
431b49c307
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ impl Speaker {
|
||||||
}
|
}
|
||||||
|
|
||||||
debug!(
|
debug!(
|
||||||
"{}: Coil {:.2} °C Magnet {:.2} °C Power {:.2} W Gain {:.2} dB",
|
"{:>15}: Coil {:>6.2} °C Magnet {:>6.2} °C Power {:>5.2} W Gain {:>6.2} dB",
|
||||||
self.name, s.t_coil, s.t_magnet, pwr_avg, s.gain
|
self.name, s.t_coil, s.t_magnet, pwr_avg, s.gain
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue