traceEventsMod

class Object
trait Matchable
class Any

Type members

Classlikes

@native @JSType
trait CreateTracingOptions extends StObject
Companion
object
Companion
class
@native @JSType
trait Tracing extends StObject

The Tracing object is used to enable or disable tracing for sets of categories. Instances are created using the trace_events.createTracing() method.

The Tracing object is used to enable or disable tracing for sets of categories. Instances are created using the trace_events.createTracing() method.

When created, the Tracing object is disabled. Calling the tracing.enable() method adds the categories to the set of enabled trace event categories. Calling tracing.disable() will remove the categories from the set of enabled trace event categories.

Companion
object
object Tracing
Companion
class

Value members

Concrete methods

@inline

Creates and returns a Tracing object for the given set of categories.

Creates and returns a Tracing object for the given set of categories.

@inline
def getEnabledCategories(): UndefOr[String]

Returns a comma-separated list of all currently-enabled trace event categories. The current set of enabled trace event categories is determined by the union of all currently-enabled Tracing objects and any categories enabled using the --trace-event-categories flag.

Returns a comma-separated list of all currently-enabled trace event categories. The current set of enabled trace event categories is determined by the union of all currently-enabled Tracing objects and any categories enabled using the --trace-event-categories flag.

Concrete fields

@JSImport("trace_events") @native
val ^: Any