This AI is still in early stages of development.
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 4 Next »
uOut(sMsg_aMsg, oSelf, cOut);
String
Array of String
The message to output – either a single string or an array of strings.
Optional descriptor object, used to create a prefix to the message before it is output.
Example object: {file: "foo.js", ver: 1.2}
{file: "foo.js", ver: 1.2}
Constant defining desired output destination:
Default: OUT_DEFAULT
OUT_DEFAULT
The return value of the output method will be returned (see documentation for OUT_* constants above for more information).
OUT_*
var self = {file: "foo.js", ver: 1.2}; function bar() { uOut("bar() called", self, OUT_CONSOLE); } bar(); // "[foo.js v1.2] bar() called"
function foo() { var names = ["bob", "jim", "kate"]; uOut(names); } foo(); // outputs each of the names on a new line to OUT_DEFAULT
This feature requires:
Related articles:
Related APIs: