Wisdom.Console


wisdom.console is the default Log object used internally by wisdom and available to your applications.

Globals

Example usage:

Here is a simple example of writing a log message to the default wisdom console. Your page has to include an element that wisdom can direct this output to, in order to be able to see it.


// ... presuming wisdom is included by a <script> tag 
// somewhere in the HTML page, or triggered onload.

var console = wisdom.console;
console.note("Hello!");
if (!document)
{
   console.alert("Oh no, I have no document to manipulate!");
}


This is part of the Reference Documentation for the Wisdom Javascript Library? (or wisdom.js)