error method
Implementation
void error(msg, {StackTrace? stackTrace, String? module, LokiLabel? labels}) => _print(
'$msg${stackTrace == null ? '' : '\n$stackTrace'}',
Level.error,
module,
{_level: Level.error.toString(), ...?labels});