loggingWithStatusString method

Future<void> loggingWithStatusString(
  1. String content,
  2. String status, {
  3. Map<String, Object?>? property,
})

Output log with a custom string status.

Implementation

Future<void> loggingWithStatusString(String content, String status,
    {Map<String, Object?>? property}) async {
  Map<String, Object?> mergedProperties =
      _mergeWithGlobalProperties(property);
  Map<String, dynamic> map = {};
  map["content"] = content;
  map["status"] = status;
  map["property"] = mergedProperties;
  await channel.invokeMethod(methodLoggingWithStatusString, map);
}