captureMessage static method
Future<SentryId>
captureMessage(
- String? message, {
- SentryLevel? level = SentryLevel.info,
- String? template,
- List? params,
- Hint? hint,
- 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,
}) =>
_taskQueue.enqueue(
() => _hub.captureMessage(
message,
level: level,
template: template,
params: params,
hint: hint,
withScope: withScope,
),
SentryId.empty(),
DataCategory.unknown,
);