devtray_log_file 0.6.2
devtray_log_file: ^0.6.2 copied to clipboard
Write devtray's captured logs to rotating files on disk, and load a past session back into the Logs page.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add devtray_log_fileThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
devtray_log_file: ^0.6.2Alternatively, 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:devtray_log_file/devtray_log_file.dart';