sentry_lumberdash 3.2.0 copy "sentry_lumberdash: ^3.2.0" to clipboard
sentry_lumberdash: ^3.2.0 copied to clipboard

Lumberdash plugin that sends your logs to Sentry with the proper severity level

example/lib/example.dart

import 'package:lumberdash/lumberdash.dart';
import 'package:sentry/sentry.dart';
import 'package:sentry_lumberdash/sentry_lumberdash.dart';

void main() {
  Sentry.init(
    (options) {
      options.dsn = 'https://example@sentry.io/add-your-dsn-here';
    },
  );
  putLumberdashToWork(
    withClients: [SentryLumberdash()],
  );
  logWarning('Hello Warning');
  logFatal('Hello Fatal!');
  logMessage('Hello Message!');
  logError(Exception('Hello Error'));
}
3
likes
150
points
128
downloads

Publisher

verified publisherbmwtech.dev

Weekly Downloads

Lumberdash plugin that sends your logs to Sentry with the proper severity level

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

lumberdash, meta, sentry

More

Packages that depend on sentry_lumberdash