error static method
Logs an error message.
Implementation
static void error(String heading, String content) {
LogitCore.container?.read(loggerProvider.notifier).addDebugLog(
heading: heading,
content: content,
level: DebugLogLevel.error,
);
}