Configure the default Logger

Archetype provides an abstraction level in order to having a generic interface for the logger.

Configuration allow you to select which implementation to put behind the logging interface. Here is the default value:

		
/**
 * Default logger for the whole application
 * 
 * Existing choices :
 * - alert : use basic JavaScript alert function, beware this is ugly and very intrusif (and probably without end...)
 * - body : insert logs into the page body, not very beautiful but useful for browser compatibility
 * - firebug : redirect logs into firebug console (but also in Safari, Opera and Chrome: it's based on "console.log")
 * - nitobibug : redirect logs into the nitobibug interface
 * - null : no logs, useful for production
 * - piDebugger : redirect logs into the piDebugger interface
 */
Archetype.logger = "firebug";
			

You can find the whole description of the logging functionnality in the API chapter: Logger .