Skip to content
pubscout

flutter_logcat

1.3.3, released 6 months ago by lagerstroemia.net

View colored console logs with custom tags, file paths, and timestamps in Flutter.

$ flutter pub add flutter_logcat
Source repository

What it does

Allows Flutter developers to output customized colored log messages to the console. It supports configuring visibility, tags, file paths, timestamps, and streaming log messages.

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

Use it when

  • You want better-differentiated console logs with colors in Flutter
  • You need to easily toggle logs depending on debug or release modes
  • You want to stream or intercept log messages programmatically

Skip it when

  • You require advanced persistent crash reporting or remote log analytics services

Strengths

  • Supports colored output and customized tags, file paths, and timestamps
  • Stream support allows listening to log records
  • Web StackTrace parsing support

Weaknesses

  • Historic log printing feature was removed due to memory leak issues
  • Limited to console output and simple streaming

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
Log.v("message", path: true, tag: "FlutterLogcat");

Alternatives

Packages that do the same job and could replace flutter_logcat.

  • logging_flutter

    Flutter extension for the logging package providing formatting, console logging, and an in-app log console.

  • chalkdart

    Console and logging text coloring and styling library using ANSI and HTML modes.

  • isolate_logger

    A logger utility utilizing Isolates to write console and file logs asynchronously.

Works with

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