Document Information

Last modified:
2008/09/02 12:41 by wpbasti

Logging System

The logging API allows for a definition of what is logged and where it is logged, while trying to keep usage as simple as possible. The logging system in 0.8 should be easier to use than in the previous versions.

Writing Log Messages

Every qooxdoo object has four logging methods debug(), info(), warn() and error(). Each method takes two parameters: The log message (String) and an error object (Error). The latter is optional.

The name of the method defines the log level your log message will get. If you want to log a message that is interesting for debugging, then use debug(). If you want to log a general information, use info(). If you want to log a warning, use warn(). Errors should be logged with error(). Have a look to the API documentation of the class qx.core.Object for more information.

So for writing a log message just call:

this.debug("Hello world");

Information

Last modified:
2008/09/02 12:41 by wpbasti

Account

Not logged in

 
 

Job Offers

To further improve qooxdoo we are seeking javascript developers. Read more...

Rich Ajax Platform (RAP)

RAP uses qooxdoo, Java and the Eclipse development model to build rich web applications. Read more...

qooxdoo Web Toolkit (QWT)

Similar to GWT this framework allows to create impressive qooxdoo applications just using Java. Read more...

Pustefix

Pustefix is a MVC-based web application framework using Java and XML/XSLT. Read more...

 
SourceForge.net Logo

Bad Behavior has blocked 0 potential spam attempts in the last 7 days.