flutter_team_logger 0.7.0 copy "flutter_team_logger: ^0.7.0" to clipboard
flutter_team_logger: ^0.7.0 copied to clipboard

Flutter widgets for displaying logs from team_logger library in the UI.

flutter_team_logger #

Flutter widgets for displaying logs from team_logger in the UI.

Status: early stage. Built for internal use so far; the public API can still change between minor versions without notice.

Features #

  • Logs — a ready-made log screen: live updates from LogStorage, pause-on-scroll with a "new logs" counter, resume with a catch-up animation, and a filter by level / logger / traceId / tag.
  • LogItem — a single log entry widget, usable on its own outside of Logs.

The package only renders what team_logger already collected — logging setup (loggers, publishers, themes) stays entirely team_logger's job.

Getting started #

dependencies:
  team_logger: ^0.7.0
  flutter_team_logger: ^0.7.0

Usage #

final logStorage = LogStorage(maxCount: 1000);
final log = Logger('app')..publisher = MultiPublisher([logStorage]);

// ...

log.i('hello');

// ...

Logs(
  theme: LogMainTheme.defaultActiveTheme,
  logStorage: logStorage,
)

See example/ for a complete demo app.

Additional information #

Issues and questions: the GitHub repository.

0
likes
160
points
306
downloads

Documentation

API reference

Publisher

verified publisheryet-another.dev

Weekly Downloads

Flutter widgets for displaying logs from team_logger library in the UI.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

ansi_escape_codes, flutter, meta, scrollable_positioned_list, team_logger

More

Packages that depend on flutter_team_logger