example | ||
lib | ||
test | ||
.gitignore | ||
analysis_options.yaml | ||
CHANGELOG.md | ||
pubspec.yaml | ||
README.md |
vLogs SDK for Dart
A simple way to collect logs and send to the server via simple SDK.
- Collect the logs
- Support local retries
Usages
import 'package:vlogs/vlogs.dart';
void main() async {
final APP_ID = "xxx";
final API_KEY = "vlogs_xxx";
final sdk = VLogs.createWith(APP_ID, API_KEY);
var request = Collector.builder()
.message("Hello World")
.source(CollectorSource.mobile.name)
.type(CollectorType.log.name)
.build();
var response = await sdk.collect(request);
print("Response: ${response.toJson()}");
}
Contributors
- Sambo Chea sombochea@cubetiqs.com