error method
void
error(})
Implementation
void error(BuildContext context, String name,
{Map<String, dynamic>? payload, String? customId, String? title}) {
return _log(LogLevel.error, context, name,
payload: payload, customId: customId, title: title);
}