flutter_xlog

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

flutter xlog

flutter_xlog #
A plugin for use Mars-XLog in flutter project.
Usage #
import package #

import 'package:flutter_xlog/flutter_xlog.dart'

copied to clipboard
open XLog #

await XLog.open(XLogConfig(cacheDir: cacheDir, logDir: logDir, consoleLogOpen: true));

copied to clipboard
write log #

XLog.i("MyApp", "build _MyAppState");

copied to clipboard
close XLog #
You maybe want to close XLog because of switch user's account.

XLog.close()

copied to clipboard
Android Issues #
keep XLog classes in proguard file #
-keep class com.tencent.mars.** {*;}
copied to clipboard
pick libc++_shared #
When you run with debug mode, you may encounter a problem like this:
2 files found with path 'lib/arm64-v8a/libc++_shared.so' from inputs:
- xxxx
- xxxx
copied to clipboard
To solve that problem, we recommend you to copy the libc++_shared.so to your app project and then pick it in build.gradle like this:
packagingOptions {
pickFirst 'jniLibs/armeabi-v7a/libc++_shared.so'
pickFirst 'jniLibs/arm64-v8a/libc++_shared.so'
}
copied to clipboard
iOS Issues #
Mars-XLog currently does not support iOS simulator. So you can only use it on iphone devices.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.