Search packages, repositories and app categories

Package detailsv10.4.0

sentry_logging

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

AndroidiOSWebmacOSWindowsLinux
30-day downloads
92.1K
Likes
26
Pub points
160

Install package

flutter pub add sentry_logging

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Sentry Logging is a Flutter/Dart package that integrates with the logging package to automatically capture and send logs to Sentry. It enables developers to track application events, errors, and debug information in real time, improving visibility into app behavior across multiple platforms. By extending the standard logging functionality, it ensures that relevant log messages are sent to Sentry for analysis, aiding in faster debugging and monitoring. The integration is seamless and supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux.

Use cases

  • Real-time error tracking
  • Debugging application issues
  • Monitoring user-reported problems
  • Centralized log management
  • Performance issue identification

Key features

  • Automatic log capture
  • Seamless integration with logging package
  • Cross-platform support
  • Customizable log levels
  • Error context enrichment

Suitable for

  • Developers using Sentry for error tracking
  • Teams needing centralized logging
  • Apps requiring detailed debugging insights
  • Projects with strict monitoring requirements
  • Mobile and web applications

Considerations

  • May increase network usage
  • Requires Sentry project setup
  • Log volume should be managed to avoid overload
  • Sensitive data should be filtered before sending
  • Potential impact on app performance if overused

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Sentry

Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us Check out our open positions

Sentry SDK for Dart and Flutter

codecov

Package CI status Likes Downloads Analysis
sentry build likes dm pub points
sentry_flutter build likes dm pub points
sentry_logging build likes dm pub points
sentry_dio build likes dm pub points
sentry_link build likes dm pub points
sentry_file build likes dm pub points
sentry_sqflite build likes dm pub points
sentry_drift build likes dm pub points
sentry_hive build likes dm pub points
sentry_isar build likes dm pub points

Releases

This repo uses the following ways to release SDK updates:

  • Pre-release: We create pre-releases (alpha, beta, RC,…) for larger and potentially more impactful changes, such as new features or major versions.
  • Latest: We continuously release major/minor/hotfix versions from the main branch. These releases go through all our internal quality gates and are very safe to use and intended to be the default for most teams.
  • Stable: We promote releases from Latest when they have been used in the field for some time and in scale, considering time since release, adoption, and other quality and stability metrics. These releases will be indicated on the releases page (https://github.com/getsentry/sentry-dart/releases/) with the Stable suffix.

Usage

For detailed usage, check out the inner dart, flutter, logging, dio, file, sqflite, drift, hive and isar README's or our Resources section below.

Blog posts

Introducing Mobile Screenshots.

With Flutter and Sentry, You Can Put All Your Eggs in One Repo.

A Sanity Listicle for Mobile Developers.

Supporting Native Android Libraries Loaded From APKs.

Resources

  • Flutter docs
  • Dart docs
  • Discussions
  • Discord Chat
  • Stack Overflow
  • X Follow

Apple Privacy Manifest

Starting with May 1st 2024, iOS apps are required to declare approved reasons to access certain APIs. This also includes third-party SDKs. If you are using sentry-flutter, update to at least version 7.17.0 to get the updated sentry-cocoa native iOS/macOS SDK, supporting the privacy manifest. All other used dependencies with file declarations are supported by Sentry packages. Run flutter pub upgrade to the latest compatible versions of all the dependencies.

SDK Size Overhead

The Sentry SDKs for Dart and Flutter typically add approximately 1-1.5 MB to an app’s binary size. The exact impact may vary depending on the device architecture.

Categories

Dependencies

Dependency list 3 items

Source repository

Projects using this package