Skip to main content

json_log

Function json_log 

Source
pub fn json_log(level: LogLevel, message: &str) -> LogBuilder
Expand description

Fluent builder: start building a log event.

Panics if message is empty (required by protocol contract).