aliyun_log_flutter_sdk 0.0.1
aliyun_log_flutter_sdk: ^0.0.1 copied to clipboard

Flutter Android iOS

Log service flutter producer.

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