Aliyun Log service producer For flutter.
Based on Native SDK
- android 2.5.8
- ios 2.2.8
- default useHttps and setPersistent
// set config first
await AliyunLogFlutterSdk.config('endpoint', 'project', 'logstore', 'accessKeyID', 'accessKeySecret');
// add tag if you need
await AliyunLogFlutterSdk.addTag({
'uuid': device.uuid,
'device': device.device,
'system': device.system,
'version': device.version,
});
// create client, then you can add log
await AliyunLogFlutterSdk.create();
AliyunLogFlutterSdk.addLog('app_first_open');