Static
addThe message to write
Optional
type: TypeType which determines the output color in the console in FF & Chrome
Optional
logData: objectAdditional objects to append to the output
Optional
addData: objectAdditional data which is also added when toString is called in terse mode (not verbose...)
Optional
format: stringAdditional format for the output (CSS like 'Color: blue', ...). Only works in FF and Chrome
Generated using TypeDoc
Adds a log to our session store.
Won't print the log to the console itself but returns a function which prints it when it is called.
Implemented this way in order to prevent filename & linenumber from the code that actually called Log.add.
!!! Note !!!
PrintLog prints the addData object before the logData object
Returns
Function which actually prints the added log to the console when called