sentry_logging 6.5.1 icon indicating copy to clipboard operation
sentry_logging: ^6.5.1 copied to clipboard

An integration which adds support for recording log from the logging package.


Sentry integration for logging package #

packagebuildpublikespopularitypub points
sentry_loggingbuildpub packagelikespopularitypub points

Integration for the logging package.

Usage

  • Sign up for a Sentry.io account and get a DSN at http://sentry.io.

  • Follow the installing instructions on pub.dev.

  • Initialize the Sentry SDK using the DSN issued by Sentry.io and add the LoggingIntegration

import 'package:sentry/sentry.dart';

Future<void> main() async {
  await Sentry.init(
    (options) {
      options.dsn = 'https://example@sentry.io/example';
      options.addIntegration(LoggingIntegration());
    },
    appRunner: initApp, // Init your App.
  );
}

void initApp() {
  // your app code
}

Resources

  • Documentation
  • Forum
  • Discord
  • Stack Overflow
  • Twitter Follow
3
likes
130
pub points
86%
popularity

Publisher

verified publisher iconsentry.io

An integration which adds support for recording log from the logging package.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

logging, sentry

More

Packages that depend on sentry_logging