Modifying this control will update this page automatically

Use the Trace object in Logic Pro for Mac

Trace is a Scripter specific function, rather than a JavaScript function. You can also use the Scripter Event.trace function to log events to the plug-in console. For more information, see Use the JavaScript Event object.

Trace(value) outputs the given value of any type to the Scripter console, which can be useful for generating debug outputs. It’s possible to mix different variable types in a single Trace() command, much like you would do with strings.

Note: Console output is thinned for performance reasons if you send too many Trace commands in a short timeframe. This also happens with event.trace.

Usage example for Trace() object

function HandleMIDI(event){Trace("Hello World!");var int = 1;var float = 1.234;var str = "Teststring";Trace("The following is a float variable: " + float + " And now we inspect an integer: " + int +" And here's a test string: " + str);}

Download the guides:

Logic Pro User Guide: PDF

Logic Pro Instruments: PDF

Logic Pro Effects: PDF

Control Surfaces Support Guide: PDF

Morty Proxy This is a proxified and sanitized view of the page, visit original site.
Полезна?
Ограничение на знаците: 250
Ограничението за знаци е 250.
Благодарим ви за обратната връзка.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.