log_export 1.0.0
log_export: ^1.0.0 copied to clipboard
A flutter plugin that help you export logcat on Android or stdout and stderr on iOS to a log file, so whenever your tester create a bug, they can attach this file to the ticket.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add log_export
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
log_export: ^1.0.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:log_export/log_export.dart';