Last updated:
0 purchases
flutter app logger
Feature #
插件用于集成到您的应用中作为日志打印模块,可以打印到标准的控制台,并且支持写入到设备存储器中
Getting started #
通过在dependencies中,添加插件到您的项目中
flutter_app_logger: 0.0.2
copied to clipboard
Usage #
使用之前,建议请求存储权限,以便能将日志写入到本地存储设备中
AppLogger.requestStoragePermission();
copied to clipboard
上一步如果已获取到,则直接调用打印输出
AppLogger.get().debug('your debug message');
copied to clipboard
android日志输出路径
String out = "/storage/emulated/0/Android/data/com.example.logger.demo/files";
copied to clipboard
iOS日志输出路径
String path = "/var/mobile/Containers/Data/Application/BB6AA6E5-6E0C-44FA-BC36-18E3CD186E32/Documents"
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.