Class Index | File Index

Classes


Class Log


Defined in: log.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Log()
A singleton object used to log all messages in Diagramo.
Field Summary
Field Attributes Field Name and Description
<static>  
Log.level
It will keep the log level (anything above this level will be printed)
Method Summary
Method Attributes Method Name and Description
<static>  
Log.debug(message)
The less important of all messages
<static>  
Log.error(message)
The worse kind of message.
<static>  
Log.group(title)
Start grouping the log messages
<static>  
Log.groupEnd()
Ends current message grouping
<static>  
Log.info(message)
The commonly used log message
Class Detail
Log()
A singleton object used to log all messages in Diagramo. It will adjust to any know (by us) browser and try to behave nice :) This acts like a wrapper to Firebug as if you do not have Firebug installed (or no FF used) the application crashes due to the fact that 'console' object is not present.
See:
For IE9 http://msdn.microsoft.com/en-us/library/dd565625%28v=vs.85%29.aspx#consolelogging
Field Detail
<static> Log.level
It will keep the log level (anything above this level will be printed)
Method Detail
<static> Log.debug(message)
The less important of all messages
Parameters:
{String} message
- the message to be logged

<static> Log.error(message)
The worse kind of message. Usually a crash
Parameters:
{String} message
- the message to be logged

<static> Log.group(title)
Start grouping the log messages
Parameters:
{String} title
- the title of the group
See:
http://getfirebug.com/logging

<static> Log.groupEnd()
Ends current message grouping

<static> Log.info(message)
The commonly used log message
Parameters:
{String} message
- the message to be logged

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jun 09 2011 12:47:26 GMT+0300 (EEST)