Class ConsoleAPICalledEventArgs
Issued when console API was called.
public sealed class ConsoleAPICalledEventArgs : EventArgs
- Inheritance
-
ConsoleAPICalledEventArgs
- Inherited Members
Properties
Args
Call arguments.
[JsonPropertyName("args")]
public RemoteObject[] Args { get; set; }
Property Value
Context
Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context.
[JsonPropertyName("context")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Context { get; set; }
Property Value
ExecutionContextId
Identifier of the context where the call was made.
[JsonPropertyName("executionContextId")]
public long ExecutionContextId { get; set; }
Property Value
StackTrace
Stack trace captured when the call was made. The async stack chain is automatically reported for
the following call types: assert, error, trace, warning. For other types the async call
chain can be retrieved using Debugger.getStackTrace and stackTrace.parentId field.
[JsonPropertyName("stackTrace")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public StackTrace? StackTrace { get; set; }
Property Value
Timestamp
Call timestamp.
[JsonPropertyName("timestamp")]
public double Timestamp { get; set; }
Property Value
Type
Type of the call.
[JsonPropertyName("type")]
public string Type { get; set; }