Namespace: Lens

Global namespace for all Lens code

Classes

ContourSearch
Coordinate
DB
Device
Embed
Marker
Snapshot

Namespaces

Central
Components
Conversions
Deps
Keyboards
LAF
Libs
Machines
Session
Tracer
UI

Static Methods

Lens.disableArgChecking() common/util/check.js, line 118

Turns off run-time argument checking.

Lens.enableArgChecking() common/util/check.js, line 126

Turns on run-time argument checking. Argument checking is on by default, so you only need to call this if you want to re-enable argument checking.

Lens.setLogLevel(level) common/util/log.js, line 120

Sets the logging level. The default logging level is "info"

Argument Type Description
level String

One of "debug", "info", "warn", or "error"

Lens.warnForArgChecking() common/util/check.js, line 134

By default, Lens's argument checking throws an error. Calling this will make it print a warning to the console instead.