format method
Formats BurtLog messages in plain-text. For the UI, use widgets.
Implementation
String format() {
final result = StringBuffer()
..write(level.label)
..write(" ")
..write(title);
if (body.isNotEmpty) {
result..write("\n ")..write(body);
}
return result.toString();
}