Write a debug entry to the console log.
The entry is prefixed with tadLib.consoleDebugMarker
.
Returns true
if debug mode is enabled.
The text to write to the console.
// Example
tadLib.debugEnabled = true;
console.TA_logDebug("Debug Message Here");
Write an error entry to the console log.
The entry is prefixed with tadLib.consoleErrorMarker
.
The text to write to the console.
// Example
console.TA_logError("Error Message Here");
Write an information entry to the console log.
The entry is prefixed with tadLib.consoleInfoMarker
.
The text to write to the console.
// Example
console.TA_logInfo("Information Message Here");
Write a success entry to the console log.
The entry is prefixed with tadLib.consoleSuccessMarker
.
The text to write to the console.
// Example
console.TA_logSuccess("Success Message Here");
Write an warning entry to the console log.
The entry is prefixed with tadLib.consoleWarnMarker
.
The text to write to the console.
// Example
console.TA_logWarn("Warning Message Here");
Console (Drafts/JavaScript)
The ThoughtAsylum library includes a set of extensions to the Drafts application's console.