Logger
The Composite Application Framework Logger sends client-side log messages to registered client-side log service similar to Apache’s Log4j service. Each message has a category, an arbitrary string, and a level such as Logger.ERROR, Logger.WARN, Logger.INFO, or Logger.DEBUG. ERROR. The error messages are displayed using a modal dialog, and the WARN messages are displayed using a modeless dialog.
You can log messages using the following static functions:
Logger.error() Logger.warn() Logger.info() Logger.debug() Logger.log() You can log the properties of an object at the DEBUG level using the Logger.dump() method.