blob: 0e19a5f28df1a62a41942e0d7b8d6806a31729cb [file] [log] [blame]
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:unified_analytics/unified_analytics.dart';
final Analytics analytics = Analytics.development(
tool: DashTool.flutterTool,
flutterChannel: 'ey-test-channel',
flutterVersion: 'Flutter 3.29.2',
clientIde: 'VSCode',
dartVersion: 'Dart 3.7.2',
);
/// Simple CLI to print the logFileStats to the console.
///
/// Run with: dart run example/log_stats.dart
void main() async {
print(analytics.logFileStats());
// Close the client connection on exit.
await analytics.close();
}