搜尋套件、儲存庫與 APP 分類

套件詳情v1.3.0

logging

提供用於除錯和錯誤記錄的 API,類似於其他語言中的記錄器,例如 Closure JS Logger 和 java.util.logging.Logger。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
1350萬
喜歡數
1010
Pub 分數
160

安裝套件

flutter pub add logging

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

日誌套件為 Dart 應用程式中的除錯與錯誤記錄提供了一個簡單且一致的 API。受其他語言中日誌框架的啟發,它讓開發者能夠以不同嚴重等級(例如,細節、資訊、警告、嚴重)發出日誌訊息。它支援結構化日誌記錄,並與各種平台(包括行動裝置、網頁及桌面)良好整合。此套件輕量級,專為開發與生產除錯時使用而設計。

適用情境

  • 除錯應用程式流程
  • 追蹤執行時錯誤
  • 監控應用程式行為
  • 捕獲使用者動作以進行分析
  • 與外部日誌服務整合

主要特色

  • 基於嚴重程度的日誌等級
  • 跨平台相容性
  • 簡單直覺的 API
  • 支援結構化記錄
  • 輕鬆整合至Flutter應用

適合對象

  • 開發 Flutter 應用的開發者
  • 需要跨平台一致日誌記錄的團隊
  • 需要除錯和生產記錄的日誌應用程式
  • 具有可觀測性需求的專案
  • 前端和後端 Dart 程式碼

使用建議

  • 不適用於高容量生產記錄
  • 需要手動設定以進行進階路由
  • 無內建日誌持久化
  • 開箱即用的篩選選項有限
  • 可能需要為遠端記錄進行額外設定

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Overview

This repository is home to various Dart packages under the dart.dev publisher.

Packages

Package Description Issues Version
args Library for defining parsers for parsing raw command-line arguments into a set of options and values using GNU and POSIX style options. issues pub package
async Utility functions and classes related to the 'dart:async' library. issues pub package
characters String replacement with operations that are Unicode/grapheme cluster aware. issues pub package
collection Collections and utilities functions and classes related to collections. issues pub package
convert Utilities for converting between data representations. Provides a number of Sink, Codec, Decoder, and Encoder types. issues pub package
crypto Implementations of SHA, MD5, and HMAC cryptographic functions. issues pub package
fixnum Library for 32- and 64-bit signed fixed-width integers with consistent behavior between native and JS runtimes. issues pub package
lints Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team. issues pub package
logging Provides APIs for debugging and error logging, similar to loggers in other languages, such as the Closure JS Logger and java.util.logging.Logger. issues pub package
os_detect Platform independent OS detection. issues pub package
path A string-based path manipulation library. issues pub package
platform A pluggable, mockable platform information abstraction for Dart. issues pub package
typed_data Utility functions and classes related to the dart:typed_data library. issues pub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.

所屬分類

原始碼儲存庫

使用此套件的專案

所在榜單