lack_off_debug_logs 1.0.0 copy "lack_off_debug_logs: ^1.0.0" to clipboard
lack_off_debug_logs: ^1.0.0 copied to clipboard

A Flutter package for implementing a custom logging tool that captures global exceptions and network requests.

##简易的异常捕获以及dio请求日志显示窗口,支持Android、ios、鸿蒙

##使用步骤

//初始化

  1. LackOff.initialize(const MyApp());

  2. 添加dio拦截器 dio.interceptors.add( PrettyDioLogger( request: true, requestHeader: true, responseHeader: true, responseBody: true, ), ); //显示button

  3. LackOff.showLackOffButton(context);

//手动新增日志 LackOff.addLog(LackOffBean( logType:'', logTitle: '', logDetail: '', date: DateTime.now().toString(), ));

鸿蒙next 模拟器 img.gif

img.png

1
likes
110
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for implementing a custom logging tool that captures global exceptions and network requests.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

dio, flutter, path, sqflite

More

Packages that depend on lack_off_debug_logs