7P7G4J5ZT4S5BP6VAN226Z7CRZXEEVO5YHJ6IFMW27NHBR5TDJRAC
U6TQX5Z2NF6GX3SRLUBQGCZ7WAXNYMWWZ2YMADUSG4EWVKNV2BIAC
RUBBHYZ7MCLKJIHZ3EWEC3JR3FSKOU4T2NH7KRBG7ECAU4JF3LUAC
OU6JOR3CDZTH2H3NTGMV3WDIAWPD3VEJI7JRY3VJ7LPDR3QOA52QC
SXEYMYF7P4RZMZ46WPL4IZUTSQ2ATBWYZX7QNVMS3SGOYXYOHAGQC
#[clap(long = "output-format")] output_format: Option<String>,
#[clap(long = "output-format")]
output_format: Option<String>,
#[clap(long = "output-format", value_enum)] output_format: Option<OutputFormat>,
#[clap(long = "output-format", value_enum)]
output_format: Option<OutputFormat>,
}/// The output format to use when printing logs.#[derive(Default, Copy, Clone, Debug, clap::ValueEnum)]enum OutputFormat { #[default] Plaintext, Json,
}
/// The output format to use when printing logs.
#[derive(Default, Copy, Clone, Debug, clap::ValueEnum)]
enum OutputFormat {
#[default]
Plaintext,
Json,
match log_iter.cmd.output_format.as_ref().map(|s| s.as_str()) { Some(s) if s.eq_ignore_ascii_case("json") => {
match log_iter.cmd.output_format.as_ref().map(|s| s.as_str()) {
Some(s) if s.eq_ignore_ascii_case("json") => {
match log_iter.cmd.output_format.unwrap_or_default() { OutputFormat::Json => {
match log_iter.cmd.output_format.unwrap_or_default() {
OutputFormat::Json => {
_ => log_iter.for_each(|entry| match write!(&mut stdout, "{}", entry) {
OutputFormat::Plaintext => log_iter.for_each(|entry| match write!(&mut stdout, "{}", entry) {