Tracing

@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.

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
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def disable(): Unit

Disables this Tracing object.

Disables this Tracing object.

Only trace event categories not covered by other enabled Tracing objects and not specified by the --trace-event-categories flag will be disabled.

def enable(): Unit

Enables this Tracing object for the set of categories covered by the Tracing object.

Enables this Tracing object for the set of categories covered by the Tracing object.

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

val categories: String

A comma-separated list of the trace event categories covered by this Tracing object.

A comma-separated list of the trace event categories covered by this Tracing object.

val enabled: Boolean

true only if the Tracing object has been enabled.

true only if the Tracing object has been enabled.