beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
op id:d6da4bad-4bab-4210-8bb9-1c7848b2e6d0
Prints something to the developer console

summary (oneliner)

Logs function calls, values, arrays or objects to the browser’s console.
If you want to log arrays or objects, you have to make sure the op is executed regularly (e.g. by connecting the Execute-port of Ops.Gl.MainLoop.
Every time the value / array / object changes it will be printed to the console.
If you want to log an array or an object you might need to connect the Execute port.
When you want to log function calls, you don’t have to connect anything besides the function you want to log (to Function Input).

doc

issues

youtube id

collections

related ops

Inputs

Execute (Function)

Executes the op, needed if you want to log arrays or objects


Function Input (Function)

Prints a message to the browser’s developer console every time the port is triggered


Value Input (Number)

Prints a message every time the value changes


Array Input (Array)

Prints a message every time the array changes (you might need to connect the Execute port)


Object Input (Object)

Prints a message every time the object changes (you might need to connect the Execute port)


Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using Log

Public Patches using Log