aliyun_log_flutter_sdk

Aliyun Log service producer For flutter.

Based on Native SDK

Usage

// 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');

Libraries

aliyun_log_flutter_sdk