fk_logs

Pub Awesome Flutter Awesome Flutter License

基于 loggy 的二次封装

使用

🔩 安装

pubspec.yaml 添加依赖

dependencies:
  fk_logs: <last_version>

⚙️ 配置

Log.init(level: LogLevel.all);

添加 dio 日志拦截器

Dio dio = Dio();
dio.interceptors.add(LoggyDioInterceptor());

🔨 使用

Log.d();
Log.i();
Log.w();
Log.e();

Changelog

Refer to the Changelog to get all release notes.

Libraries

fk_logs