Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributelogger

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

pub.devRemove
surf_logger

Production-level logger utility for Dart and Flutter with strategy-based configuration.

pub.devRemove
ScoresHealth83 (best)50
Maintenance65 (best)1
Quality9696
Popularity97 (best)28
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)3.7M (best)825
Likes3.7k (best)24
Pub points150 / 160150 / 160
GitHub stars322 (best)12
MaintenanceLatest release2.8.0, 3 months ago (best)2.0.2, 3 years ago
Major versions in 12 months00
Contributors22 (best)12
Publishersourcehorizon.orgsurf.ru
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies20 (best)
LicenseMITAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • 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
  • Strategy pattern makes it flexible to send logs to any backend or storage.
  • Not a singleton starting from version 2.0.0, which helps with testing and multiple scopes.
  • Separates logger configuration from the LogWriter interface.
Weaknesses
  • Requires manual setup and handling if you want persistent file logs in production
  • ANSI color escape sequences may have issues on certain macOS environments
  • Requires writing custom strategies for specific logging destinations.
  • Dependency on external loggers has been removed, meaning you must define how logging is handled.
WarningsNoneNone
logger vs surf_logger: which Flutter package should you use? | pubscout