[][src]Function slog_bunyan::with_name

pub fn with_name<W>(name: &'static str, io: W) -> JsonBuilder<W> where
    W: Write

Create slog_json::FormatBuilder with keys for the bunyan core fields. The value of the name parameter is used to populate the bunyan name field.