native_log_plus 0.0.3
native_log_plus: ^0.0.3 copied to clipboard
调用原生日志函数的 Flutter 插件,支持 Android 和 iOS 平台。该插件通过 FFI 直接调用原生系统日志功能,提供高性能的日志记录能力。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add native_log_plusThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
native_log_plus: ^0.0.3Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:native_log_plus/native_log.dart';
import 'package:native_log_plus/native_log_bindings_generated.dart';