Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
org.dartlang.analysis.server.protocol.ServerLogEntryKind Class Reference

Static Public Attributes

static final String NOTIFICATION = "NOTIFICATION"
 
static final String RAW = "RAW"
 
static final String REQUEST = "REQUEST"
 
static final String RESPONSE = "RESPONSE"
 

Detailed Description

An enumeration of the kinds of server long entries.

@coverage dart.server.generated.types

Definition at line 16 of file ServerLogEntryKind.java.

Member Data Documentation

◆ NOTIFICATION

final String org.dartlang.analysis.server.protocol.ServerLogEntryKind.NOTIFICATION = "NOTIFICATION"
static

A notification from the server, such as "analysis.highlights". The "data" field contains a JSON object with abbreviated notification.

Definition at line 22 of file ServerLogEntryKind.java.

◆ RAW

final String org.dartlang.analysis.server.protocol.ServerLogEntryKind.RAW = "RAW"
static

Arbitrary string, describing some event that happened in the server, e.g. starting a file analysis, and details which files were accessed. These entries are not structured, but provide context information about requests and notification, and can be related by "time" for further manual analysis.

Definition at line 30 of file ServerLogEntryKind.java.

◆ REQUEST

final String org.dartlang.analysis.server.protocol.ServerLogEntryKind.REQUEST = "REQUEST"
static

A request from the client, as the server views it, e.g. "edit.getAssists". The "data" field contains a JSON object with abbreviated request.

Definition at line 36 of file ServerLogEntryKind.java.

◆ RESPONSE

final String org.dartlang.analysis.server.protocol.ServerLogEntryKind.RESPONSE = "RESPONSE"
static

Various counters and measurements related to execution of a request. The "data" field contains a JSON object with following fields:

  • "id" - the id of the request - copied from the request.
  • "method" - the method of the request, e.g. "edit.getAssists".
  • "clientRequestTime" - the time (milliseconds since epoch) at which the client made the request
    • copied from the request.
  • "serverRequestTime" - the time (milliseconds since epoch) at which the server received and decoded the JSON request.
  • "responseTime" - the time (milliseconds since epoch) at which the server created the response to be encoded into JSON and sent to the client.

Definition at line 51 of file ServerLogEntryKind.java.


The documentation for this class was generated from the following file: