Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeansicolor

An xterm-256 color support library for changing terminal text colors and backgrounds.

pub.devRemove
logger

An extensible logger for printing formatted logs with levels, custom filters, and printers.

pub.devRemove
ScoresHealth5083 (best)
Maintenance265 (best)
Quality100 (best)96
Popularity9297 (best)
Community8080
Compatibility100 (best)85
UsageDownloads (30 days)3.5M3.7M (best)
Likes1713.7k (best)
Pub points160 / 160 (best)150 / 160
GitHub stars105322 (best)
MaintenanceLatest release2.0.3, 2 years ago2.8.0, 3 months ago (best)
Major versions in 12 months00
Contributors1122 (best)
Publishermcdole.orgsourcehorizon.org
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies0 (best)2
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Simple API using AnsiPen
  • Supports xterm-256 colors and RGB coloring
  • Easy global disabling for production environments
  • Extensible architecture with custom filters, printers, and outputs
  • Pretty printing with colors, emojis, and stack traces out of the box
  • Supports multiple log levels including trace, debug, info, warning, error, and fatal
Weaknesses
  • Relies on stdio to detect ANSI support which can sometimes be wrong
  • Limited to adding ANSI color codes
  • Requires manual setup and handling if you want persistent file logs in production
  • ANSI color escape sequences may have issues on certain macOS environments
WarningsNoneNone
ansicolor vs logger: which Flutter package should you use? | pubscout