fepe_logcat 1.0.3 copy "fepe_logcat: ^1.0.3" to clipboard
fepe_logcat: ^1.0.3 copied to clipboard

Flutter plugin to get the system messages, stack traces etc using logcat command-line tool.

fepe_logcat #

Flutter plugin to get system messages, stack traces etc and show them in app. Can also be used to get the app logs from a remote device with share plugin.

Call Logcat.exec() from anywhere to get logs as a Future String then use it in anyway within your app.

NOTE: This plugin fetches logs only on Android Devices presently.

Installation #

Add package to pubspec.yaml

fepe_logcat: ^1.0.2

Add Import

import 'package:logcat/logcat.dart';

Use it anywhere

Future<void> _getLogs() async {
    final String logs = await Logcat.execute();
    setState(() {
      // Update your UI
    });
  }
2
likes
130
points
57
downloads

Publisher

verified publisher5ts.pro

Weekly Downloads

Flutter plugin to get the system messages, stack traces etc using logcat command-line tool.

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

fepe_logs, flutter

More

Packages that depend on fepe_logcat