logError method

  1. @override
void logError(
  1. String message,
  2. Map<String, String>? properties
)
override

Log message and optional properties using the error log level.

Implementation

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