mirror of
https://codeberg.org/icewind/logsmash.git
synced 2026-06-03 18:14:11 +02:00
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
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:
parent
a463903d24
commit
41310d1eb0
1 changed files with 2 additions and 1 deletions
|
|
@ -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());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue