ServerLogEntryKind class
ServerLogEntryKind
enum { NOTIFICATION RAW REQUEST RESPONSE }
Clients may not extend, implement or mix-in this class.
- Implemented types
Constructors
- ServerLogEntryKind(String name)
-
factory
- ServerLogEntryKind.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the enumerated value. This should match the name of the static
getter which provides access to this enumerated value.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- NOTIFICATION → const ServerLogEntryKind
- A notification from the server, such as "analysis.highlights". The "data" field contains a JSON object with abbreviated notification.
- RAW → const ServerLogEntryKind
- 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.
- REQUEST → const ServerLogEntryKind
- A request from the client, as the server views it, e.g. "edit.getAssists". The "data" field contains a JSON object with abbreviated request.
- RESPONSE → const ServerLogEntryKind
- Various counters and measurements related to execution of a request. The "data" field contains a JSON object with following fields:
-
VALUES
→ const List<
ServerLogEntryKind> - A list containing all of the enum values that are defined.