Class Index | File Index

Classes


Class M.Logger


Extends M.Object.
M.Logger defines the prototype for any logging object. It is used to log messages out of the application based on a given logging level.
Defined in: logger.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
The type of this object.
Method Summary
Method Attributes Method Name and Description
 
log(msg, level)
This method is used to log anything out of an application based on the given logging level.
Methods borrowed from class M.Object:
bindToCaller, create, destroy, extend, get, include, set
Class Detail
M.Logger()
Field Detail
{String} type
The type of this object.
Method Detail
log(msg, level)
This method is used to log anything out of an application based on the given logging level. Possible values for the logging level are: - debug: M.DEBUG - error: M.ERROR - warning: M.WARN - info: M.INFO
Parameters:
{String} msg
The logging message.
{Number} level
The logging level.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Dec 08 2010 15:07:32 GMT+0100 (MEZ)