mirror of
https://codeberg.org/icewind/logsmash.git
synced 2026-06-03 10:04:12 +02:00
allow filtering by log id
This commit is contained in:
parent
f5f93c79c2
commit
ff5efa9eac
1 changed files with 3 additions and 0 deletions
|
|
@ -180,6 +180,9 @@ impl GroupedLines {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
let line = &app.lines[self.lines[0]];
|
let line = &app.lines[self.lines[0]];
|
||||||
|
if line.request_id == filter.filter {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
filter
|
filter
|
||||||
.parts()
|
.parts()
|
||||||
.all(|filter_part| filter_part.is_match(&line.message))
|
.all(|filter_part| filter_part.is_match(&line.message))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue