native_log_plus 0.0.1 copy "native_log_plus: ^0.0.1" to clipboard
native_log_plus: ^0.0.1 copied to clipboard

调用原生日志函数

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add native_log_plus

With Flutter:

 $ flutter pub add native_log_plus

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  native_log_plus: ^0.0.1

Alternatively, your editor might support dart pub get or 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';