7
7
/// The [label] for each enum value is what will be logged, the [description]
8
8
/// is here for documentation purposes
9
9
enum DashEvent {
10
- analyzerServerStarted (
11
- label: 'analyzer_server_started' ,
12
- description: 'Dart Analyzer Server Started' ,
13
- toolOwner: DashTool .dartAnalyzer,
14
- ),
15
10
hotReloadTime (
16
11
label: 'hot_reload_time' ,
17
12
description: 'Hot reload duration' ,
18
13
toolOwner: DashTool .flutterTools,
19
14
),
15
+ lintUsageCounts (
16
+ label: 'lint_usage_counts' ,
17
+ description: 'Number of times each lint is enabled' ,
18
+ toolOwner: DashTool .languageServer,
19
+ ),
20
+ notification (
21
+ label: 'notification' ,
22
+ description: 'Notifications sent from the client' ,
23
+ toolOwner: DashTool .languageServer,
24
+ ),
25
+ pluginRequest (
26
+ label: 'plugin_request' ,
27
+ description: 'Request responses from plugins' ,
28
+ toolOwner: DashTool .languageServer,
29
+ ),
30
+ request (
31
+ label: 'request' ,
32
+ description: 'Requests sent from the client' ,
33
+ toolOwner: DashTool .languageServer,
34
+ ),
35
+ session (
36
+ label: 'session' ,
37
+ description: 'Dart Analyzer Server session data' ,
38
+ toolOwner: DashTool .languageServer,
39
+ ),
40
+ severityAdjustments (
41
+ label: 'severity_adjustments' ,
42
+ description: 'Number of times diagnostic severity is changed' ,
43
+ toolOwner: DashTool .languageServer,
44
+ ),
20
45
;
21
46
22
47
final String label;
@@ -37,9 +62,9 @@ enum DashTool {
37
62
label: 'flutter_tools' ,
38
63
description: 'Runs flutter applications from CLI' ,
39
64
),
40
- dartAnalyzer (
41
- label: 'dart_analyzer ' ,
42
- description: 'Analyzes dart code in workspace ' ,
65
+ languageServer (
66
+ label: 'language_server ' ,
67
+ description: 'The Dart language server for IDE and CLI support. ' ,
43
68
);
44
69
45
70
final String label;
0 commit comments