Static
bufferBuffer for pre-initialized content.
Static
consoleSpecifies the name of the console window.
Static
DEBUGSpecifies if the output for debug should be visible in the console.
Static
tdStatic
textareaStatic
TRACEStatic
WARNSpecifies if the output for warn should be visible in the console.
Static
windowStatic
addAdds a button to the console using the given label and function.
Static
debugStatic
enterWrites the specified string to the console if TRACE is true
and returns the current time in milliseconds.
Static
infoWrites the current navigator information to the console.
Static
initInitializes the DOM node for the console.
This requires document.body
to point to a non-null value.
This is called from within setVisible if the log has not yet been initialized.
Static
isReturns true
if the console is visible.
Static
leaveStatic
setShows or hides the console.
Static
showShows the console.
Static
traceStatic
warnStatic
writeAdds the specified strings to the console.
Static
writelnAdds the specified strings to the console, appending a linefeed at the end of each string.
A singleton class that implements a simple console.