Function slog_bunyan::with_name

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

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.