搜索插件、代码仓与 APP 分类

插件详情v10.4.0

sentry_logging

一个集成,用于添加对 logging 包日志记录的支持。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
9.2万
喜欢数
26
Pub 分数
160

安装插件

flutter pub add sentry_logging

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Sentry Logging 是一个 Flutter/Dart 包,可与日志包集成,自动捕获并发送日志到 Sentry。它使开发者能够实时跟踪应用程序事件、错误和调试信息,从而提高在多个平台上的应用行为可见性。通过扩展标准日志功能,确保相关日志消息被发送到 Sentry 进行分析,有助于更快地进行调试和监控。该集成无缝且支持所有主要平台,包括 Android、iOS、Web、macOS、Windows 和 Linux。

适合场景

  • 实时错误跟踪
  • 调试应用程序问题
  • 监控用户报告的问题
  • 集中式日志管理
  • 性能问题识别

主要特点

  • 自动日志捕获
  • 与日志记录包无缝集成
  • 跨平台支持
  • 可自定义的日志级别
  • 错误上下文增强

适合对象

  • 使用 Sentry 进行错误跟踪的开发者
  • 需要集中化日志记录的团队
  • 需要详细调试信息的应用程序
  • 具有严格监控要求的项目
  • 移动和Web应用

使用建议

  • 可能增加网络使用量
  • 需要 Sentry 项目设置
  • 日志体积应得到管理,以避免过载
  • 敏感数据应在发送前进行过滤
  • 如果过度使用,可能会影响应用性能

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

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.

所属分类

依赖

依赖清单 3 项

源码仓库

使用此插件的项目