reportMessage method

  1. @override
Future<void> reportMessage(
  1. String message, {
  2. Map<String, dynamic>? params,
  3. LogLevel? level = LogLevel.info,
})
override

Reports a message with optional parameters.

Implementation

@override
Future<void> reportMessage(String message,
    {Map<String, dynamic>? params, LogLevel? level = LogLevel.info}) {
  final futures = providers.map((provider) =>
      provider.reportMessage(message, params: params, level: level));

  return Future.wait(futures);
}