-
public final class RuntimeEvent.ConsoleAPICalledEvent extends RuntimeEvent
Issued when console API was called.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringtypeprivate final List<RemoteObject>argsprivate final IntegerexecutionContextIdprivate final Doubletimestampprivate final StackTracestackTraceprivate final Stringcontext
-
Constructor Summary
Constructors Constructor Description ConsoleAPICalledEvent(String type, List<RemoteObject> args, Integer executionContextId, Double timestamp, StackTrace stackTrace, String context)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final List<RemoteObject>component2()final Integercomponent3()final Doublecomponent4()final StackTracecomponent5()final Stringcomponent6()final RuntimeEvent.ConsoleAPICalledEventcopy(String type, List<RemoteObject> args, Integer executionContextId, Double timestamp, StackTrace stackTrace, String context)final StringgetType()Type of the call. final List<RemoteObject>getArgs()Call arguments. final IntegergetExecutionContextId()Identifier of the context where the call was made. final DoublegetTimestamp()Call timestamp. final StackTracegetStackTrace()Stack trace captured when the call was made. final StringgetContext()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. -
-
Constructor Detail
-
ConsoleAPICalledEvent
ConsoleAPICalledEvent(String type, List<RemoteObject> args, Integer executionContextId, Double timestamp, StackTrace stackTrace, String context)
-
-
Method Detail
-
component1
final String component1()
-
component2
final List<RemoteObject> component2()
-
component3
final Integer component3()
-
component4
final Double component4()
-
component5
final StackTrace component5()
-
component6
final String component6()
-
copy
final RuntimeEvent.ConsoleAPICalledEvent copy(String type, List<RemoteObject> args, Integer executionContextId, Double timestamp, StackTrace stackTrace, String context)
-
getArgs
final List<RemoteObject> getArgs()
Call arguments.
-
getExecutionContextId
final Integer getExecutionContextId()
Identifier of the context where the call was made.
-
getTimestamp
final Double getTimestamp()
Call timestamp.
-
getStackTrace
final StackTrace getStackTrace()
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 usingDebugger.getStackTraceandstackTrace.parentIdfield.
-
getContext
final String getContext()
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.
-
-
-
-