sentry_lumberdash 2.0.0 sentry_lumberdash: ^2.0.0 copied to clipboard
Lumberdash plugin that sends your logs to Sentry with the proper severity level
import 'package:lumberdash/lumberdash.dart';
import 'package:sentry_lumberdash/sentry_lumberdash.dart';
void main() {
putLumberdashToWork(
withClients: [SentryLumberdash.withDsn(dsnKey: 'your_key')],
);
logWarning('Hello Warning');
logFatal('Hello Fatal!');
logMessage('Hello Message!');
logError(Exception('Hello Error'));
}