pub fn write_log(
level: LogLevel,
message: String,
widget_id: Option<String>,
) -> Result<(), String>Expand description
Writes a record from the interface, or from a widget when widget_id is set. Every line is
redacted and messages over 8 KB are cut.