harmonyos2-HiLogger:简单、漂亮和强大的记录器,用于和谐

上传者: 38641764 | 上传时间: 2023-10-25 14:43:47 | 文件大小: 103KB | 文件类型: ZIP
harmonyos 2 此项目仿照编写,目的是方便在Harmony上,输出整洁漂亮的打印信息。 关于LICENSE我不太懂,如果有问题,请及时联系我,我会及时修改。 暂时只支持json不支持xml。 因为现在HiLog的DEBUG级别打印,限制必须开启usb调试,而使用华为的远程模拟器开启usb调试会死机~,所以json格式的打印增加了级别选择的支持。 HiLogger Simple, pretty and powerful logger for harmony Setup Download implementation 'com.github.boxuanjia:hilogger:1.0.1' Initialize HiLogger.addLogAdapter(new HarmonyLogAdapter()); And use HiLogger.d("hello"); Options HiLogger.d("debug"); HiLogger.e("error"); HiLogger.w("warning"); HiLogger.i("information"); HiLogger.

文件下载

资源详情

( 33 个子文件 103KB ) harmonyos2-HiLogger:简单、漂亮和强大的记录器,用于和谐
HiLogger-main
.gitignore 80B
settings.gradle 20B
build.gradle 755B
gradlew 5.63KB
LICENSE 11.09KB
README.md 3.01KB
gradlew.bat 2.88KB
gradle.properties 549B
hilogger
.gitignore 7B
build.gradle 248B
src
main
resources
base
element
string.json 86B
java
com
github
boxuanjia
hilogger
HarmonyLogAdapter.java 1.16KB
CsvFormatStrategy.java 4.04KB
FormatStrategy.java 273B
HiLogger.java 4.33KB
Utils.java 4.10KB
DiskLogAdapter.java 905B
LogAdapter.java 1.05KB
LoggerPrinter.java 5.20KB
PrettyFormatStrategy.java 8.83KB
HiLogLogStrategy.java 1.22KB
DiskLogStrategy.java 3.66KB
LogStrategy.java 697B
Printer.java 914B
org
json
JSON.java 3.83KB
JSONStringer.java 12.93KB
JSONObject.java 28.97KB
JSONException.java 1.78KB
JSONTokener.java 20.19KB
JSONArray.java 20.43KB
config.json 496B
gradle
wrapper
gradle-wrapper.properties 200B
gradle-wrapper.jar 57.32KB
[{"title":"( 33 个子文件 103KB ) harmonyos2-HiLogger:简单、漂亮和强大的记录器,用于和谐","children":[{"title":"HiLogger-main","children":[{"title":".gitignore <span style='color:#111;'> 80B </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 20B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 755B </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 5.63KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 549B </span>","children":null,"spread":false},{"title":"hilogger","children":[{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 248B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"base","children":[{"title":"element","children":[{"title":"string.json <span style='color:#111;'> 86B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"github","children":[{"title":"boxuanjia","children":[{"title":"hilogger","children":[{"title":"HarmonyLogAdapter.java <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"CsvFormatStrategy.java <span style='color:#111;'> 4.04KB </span>","children":null,"spread":false},{"title":"FormatStrategy.java <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"HiLogger.java <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":"Utils.java <span style='color:#111;'> 4.10KB </span>","children":null,"spread":false},{"title":"DiskLogAdapter.java <span style='color:#111;'> 905B </span>","children":null,"spread":false},{"title":"LogAdapter.java <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"LoggerPrinter.java <span style='color:#111;'> 5.20KB </span>","children":null,"spread":false},{"title":"PrettyFormatStrategy.java <span style='color:#111;'> 8.83KB </span>","children":null,"spread":false},{"title":"HiLogLogStrategy.java <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"DiskLogStrategy.java <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"LogStrategy.java <span style='color:#111;'> 697B </span>","children":null,"spread":false},{"title":"Printer.java <span style='color:#111;'> 914B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"org","children":[{"title":"json","children":[{"title":"JSON.java <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"JSONStringer.java <span style='color:#111;'> 12.93KB </span>","children":null,"spread":false},{"title":"JSONObject.java <span style='color:#111;'> 28.97KB </span>","children":null,"spread":false},{"title":"JSONException.java <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"JSONTokener.java <span style='color:#111;'> 20.19KB </span>","children":null,"spread":false},{"title":"JSONArray.java <span style='color:#111;'> 20.43KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"config.json <span style='color:#111;'> 496B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 200B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 57.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明
服务器状态检查中...