parent
e19a619b20
commit
f7546253d0
@ -1,14 +1,30 @@
|
||||
# power_logger
|
||||
|
||||
A new Flutter package.
|
||||
A well log tool on flutter, support Dio and custom type data.
|
||||
|
||||
## Getting Started
|
||||
|
||||
This project is a starting point for a Dart
|
||||
[package](https://flutter.dev/developing-packages/),
|
||||
a library module containing code that can be shared easily across
|
||||
multiple Flutter or Dart projects.
|
||||
### Usage
|
||||
|
||||
For help getting started with Flutter, view our
|
||||
[online documentation](https://flutter.dev/docs), which offers tutorials,
|
||||
samples, guidance on mobile development, and a full API reference.
|
||||
* init logger
|
||||
|
||||
```dart
|
||||
Future.delayed(
|
||||
Duration(milliseconds: 300),
|
||||
() => PowerLogger.init(context),
|
||||
);
|
||||
```
|
||||
|
||||
* add data to logger
|
||||
|
||||
```dart
|
||||
LoggerData.addData(data);
|
||||
```
|
||||
|
||||
## WARNING
|
||||
|
||||
*only tested on flutter 1.22.5
|
||||
|
||||
## author
|
||||
|
||||
[laiiihz](https://github.com/laiiihz)
|
||||
|
Loading…
Reference in new issue