show version number in log details
Some checks failed
CI / check (push) Failing after 8s
CI / check-extractor (push) Failing after 2s
CI / build-nixpkgs (push) Has been skipped
CI / clippy (push) Has been skipped
CI / build (x86_64-pc-windows-gnu) (push) Has been skipped
CI / build (x86_64-unknown-linux-gnu) (push) Has been skipped
CI / build (x86_64-unknown-linux-musl) (push) Has been skipped

This commit is contained in:
Robin Appelman 2024-09-25 14:50:03 +02:00
commit 41310d1eb0

View file

@ -41,7 +41,7 @@ impl StatefulWidget for SingleLog {
{ {
if let Some(line) = self.line { if let Some(line) = self.line {
let par = Paragraph::new(format!( let par = Paragraph::new(format!(
"{}\n\n {} {}\n {}\n\n {} from {} by {} at {}", "{}\n\n {} {}\n {}\n\n {} from {} by {} at {} - version {}",
line.message, line.message,
line.method, line.method,
line.url, line.url,
@ -50,6 +50,7 @@ impl StatefulWidget for SingleLog {
line.remote_address, line.remote_address,
line.user, line.user,
format_time(line.time), format_time(line.time),
line.version,
)) ))
.wrap(Wrap::default()); .wrap(Wrap::default());