/// Create a new logfmt Layer to pass into tracing_subscriber
///
/// Note this layer simply formats and writes to the specified writer. It
/// does not do any filtering for levels itself. Filtering can be done
/// using a EnvFilter
///
/// For example:
/// ```
///  use logfmt::LogFmtLayer;
///  use tracing_subscriber::{EnvFilter, prelude::*, self};
///
///  // setup debug logging level
///  std::env::set_var("RUST_LOG", "debug");
///
///  // setup formatter to write to stderr
///  let formatter =
///    LogFmtLayer::new(std::io::stderr);
///
///  tracing_subscriber::registry()
///    .with(EnvFilter::from_default_env())
///    .with(formatter)
///    .init();
/// ```
Create a new logfmt Layer to pass into tracing_subscriber
Note this layer simply formats and writes to the specified writer. It
does not do any filtering for levels itself. Filtering can be done
using a EnvFilter








Create a new logfmt Layer to pass into tracing_subscriber Note this layer simply formats and writes to the specified writer . It does not do any filtering for levels itself . Filtering can be done using a EnvFilter
pub fn new(writer: W) -> Self {
        Self {
            writer,
            display_target: true,
        }
    }
pub fn new ( writer : W ) -> Self { Self { writer , display_target : true , } }
Create a new logfmt Layer to pass into tracing_subscriber
Note this layer simply formats and writes to the specified writer.
Create a new logfmt Layer to pass into tracing_subscriber Note this layer simply formats and writes to the specified writer .
writer
W