xxf_log 0.0.4
xxf_log: ^0.0.4 copied to clipboard
log tools
日志封装框架
Features #
- 先判断环境,是不是应该打印,再执行回调,以回调的形式能避免业务转换或者获取其他变量,包括对象的toString()等方法带来的消耗
- 可配置各种数据结构的解析,不单纯是支持string,支持各种数据自定义,请参考parser
Getting started #
List prerequisites and provide or point to information on how to start using the package.
Usage #
logE("=========>count:$_counter");
logE("=========>take:$measureNano");
跳转log日志ui
Navigator.of(context).push(
MaterialPageRoute(
builder:
(context) => LogUtils.config.logger.getLoggerWidget(),
),
);
Additional information #
Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.