pub struct FilterLogArgs {
pub path: String,
pub min_level: Option<String>,
pub component: Option<String>,
pub format: String,
}Expand description
Arguments of filter_log.
Fields§
§path: StringFilesystem path to an rlg log file to read.
min_level: Option<String>Keep only records at or above this severity. Omit to keep all levels.
component: Option<String>Keep only records whose component matches this exact value. Omit to keep all components.
format: Stringrlg LogFormat name to render matched records in (e.g. Logfmt, JSON). Defaults to Logfmt.
Trait Implementations§
Source§impl Debug for FilterLogArgs
impl Debug for FilterLogArgs
Source§impl<'de> Deserialize<'de> for FilterLogArgs
impl<'de> Deserialize<'de> for FilterLogArgs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for FilterLogArgs
impl JsonSchema for FilterLogArgs
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for FilterLogArgs
impl Freeze for FilterLogArgs
impl RefUnwindSafe for FilterLogArgs
impl Send for FilterLogArgs
impl Sync for FilterLogArgs
impl Unpin for FilterLogArgs
impl UnsafeUnpin for FilterLogArgs
impl UnwindSafe for FilterLogArgs
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