captureMessage static method

Future<SentryId> captureMessage(
  1. String? message, {
  2. SentryLevel? level = SentryLevel.info,
  3. String? template,
  4. List? params,
  5. Hint? hint,
  6. ScopeCallback? withScope,
})

Reports a message to Sentry.io.

Implementation

static Future<SentryId> captureMessage(
  String? message, {
  SentryLevel? level = SentryLevel.info,
  String? template,
  List<dynamic>? params,
  Hint? hint,
  ScopeCallback? withScope,
}) =>
    _hub.captureMessage(
      message,
      level: level,
      template: template,
      params: params,
      hint: hint,
      withScope: withScope,
    );