pd_log 0.8.0
pd_log: ^0.8.0 copied to clipboard
使用纯Dart进行跨平台Flutter日志记录;缓冲文件写入;无平台通道。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add pd_logThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
pd_log: ^0.8.0Alternatively, 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:pd_log/pd_log.dart';