Namespace: Lens.Tracer

Submits events to the LuminAR Tracer. Disabled by default: use Lens.Tracer.enable to turn it on.

Static Methods

Lens.Tracer.disable() common/network/tracer.js, line 89

Disables tracing.

Lens.Tracer.enable() common/network/tracer.js, line 82

Enables tracing.

Lens.Tracer.post(name, trace, tag, group) → {String} common/network/tracer.js, line 50

Posts a tracing event to the LuminAR Tracer.

Argument Type Attributes Description
name String

Name of the event.

trace String <optional>

Trace ID to associate the event with. If not given, a trace id is randomly generated.

tag String <optional>

Tag name, if desired.

group String <optional>

Group name. Defaults to "Lens"

Returns:

The Trace ID of the event.