e static method
Implementation
static Future<String> e(Object e, {StackTrace? st}) async {
final _msg =
'\n ERROR: [${dt.toIso8601String()}] $e ${st != null ? '\n $st' : ''}';
Logger.c(e, st: st);
await (await logFile).writeAsString(_msg, mode: FileMode.append);
return _msg;
}