Skip to content
pubscout

ispectify

7.2.0, released 4 weeks ago by shodev.live

Pure-Dart structured logging, tracing, filtering, history, observers, export, and redaction core.

WASM-ready
$ flutter pub add ispectify
Source repository

What it does

Provides typed log entries with severity levels, tracing extensions for async/sync/stream operations, bounded in-memory or rolling file history, filter rules, observer hooks, and built-in data redaction for Dart and Flutter applications.

AI-written summary of version 7.2.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need structured logging and tracing in pure Dart or server-side applications without Flutter dependencies.
  • You want built-in data redaction to mask sensitive tokens, API keys, and credentials before writing to disk or exporting.

Skip it when

  • You only need the built-in Dart print function for a very small CLI script.
  • You require a full-fledged hosted crash reporting and analytics backend rather than local history and observation.

Strengths

  • Pure Dart with no mandatory Flutter dependency.
  • Built-in redaction engine for secure logging.
  • Supports rolling file history, filtering, observers, and trace extensions.

Weaknesses

  • Must explicitly compile with ISPECT_ENABLED=true for diagnostics to run.
  • Requires manual setup for advanced features like rolling file history.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
4

Add to pubspec.yaml and compile with -DISPECT_ENABLED=true for diagnostics.

import 'package:ispectify/ispectify.dart';

final logger = ISpectLogger();

logger.info('Application started');
logger.warning('Cache miss, falling back to network');

Works with

Packages commonly used together with ispectify: ones it builds on, ones built on it, and its own family.