pub struct LogQuery {
pub start_time: Option<i64>,
pub end_time: Option<i64>,
pub min_level: Option<String>,
pub logger: Option<String>,
pub limit: i64,
pub offset: i64,
pub sort_by: Option<String>,
}Expand description
The logs query — every param optional server-side, but limit is
ALWAYS sent explicitly by this CLI (Pitfall 9). start_time is the
tail cursor; end_time bounds historical windows; sort_by uses
the gateway’s own asc(field) / desc(field) syntax (openapi).
Fields§
§start_time: Option<i64>Include results from this epoch-ms timestamp (the tail cursor).
end_time: Option<i64>Include results up to this epoch-ms timestamp.
min_level: Option<String>Only entries of min_level OR HIGHER
(minLevel on the wire; TRACE..OFF, server-side filtering).
logger: Option<String>Filter to one logger name prefix (logger on the wire).
limit: i64Max items — ALWAYS explicit (DEFAULT_LOG_LIMIT); -1 would
mean the server’s unlimited default (Pitfall 9).
offset: i64Skip the first offset items.
sort_by: Option<String>Server-side sort: asc(fieldName) / desc(fieldName).
Implementations§
Trait Implementations§
impl Eq for LogQuery
impl StructuralPartialEq for LogQuery
Auto Trait Implementations§
impl Freeze for LogQuery
impl RefUnwindSafe for LogQuery
impl Send for LogQuery
impl Sync for LogQuery
impl Unpin for LogQuery
impl UnsafeUnpin for LogQuery
impl UnwindSafe for LogQuery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.