logError method

  1. @override
void logError(
  1. String message,
  2. Map<String, String>? properties, {
  3. required bool allowScreenshot,
})
override

Log message and optional properties using the error log level.

Implementation

@override
void logError(
  String message,
  Map<String, String>? properties, {
  required bool allowScreenshot,
}) {
  throwIfNotStarted();
  methodChannel.invokeMethod(_logErrorMethodName, {
    _messageArgName: message,
    _propertiesArgName: properties,
    _allowScreenshotArgName: allowScreenshot,
  });
}