# flutter_xlog_plugin **Repository Path**: liuquanyou/flutter_xlog_plugin ## Basic Information - **Project Name**: flutter_xlog_plugin - **Description**: 基于Mars xlog封装的flutter日志库 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 7 - **Created**: 2021-04-01 - **Last Updated**: 2021-04-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # flutter_xlog_plugin 基于[Mars xlog](https://mp.weixin.qq.com/s/cnhuEodJGIbdodh0IxNeXQ)封装的flutter日志库,目前仅Android平台才能使用xlog native打印保存日志; 其它平台使用Flutter print()方法打印日志到控制台,不保存日志文件; [xlog 日志解密参考](https://github.com/Tencent/mars/wiki/Xlog-%E5%8A%A0%E5%AF%86%E4%BD%BF%E7%94%A8%E6%8C%87%E5%BC%95) ## Android日志说明 ``` 只要调用了XLogUtils类打印的日志(不区分日志级别)都会保存到手机目录中; log文件保存目录为开发者初始化时指定; log解密方式: 1、日志开启了加密: python2 decode_mars_crypt_log_file.py(解密脚本) xlog_xxxx.xlog(日志文件名) 2、日志未开启加密: python2 decode_mars_nocrypt_log_file.py(解密脚本) xlog_xxxx.xlog(日志文件名) 解密脚本存放路径:工程目录/logdoc/decode_mars_xxx_log_file.py ``` ## 使用方式 ``` dependencies: flutter_xlog_plugin: git: url: https://gitee.com/rishli/flutter_xlog_plugin.git ref: (tag标签) ```