ADF Faces is using (on the server) a “wrapper” around the standard Java logging. Based on the given log-level, the server-side console “prints” out different messages. To make life (and debugging) easier we did a similar thing for the client-side: ADF Faces contains a rich client-side Logger API. In order to use it, you need to enable it inside of the web.xml file, like:
<context-param> <param-name>oracle.adf.view.rich.LOGGER_LEVEL</param-name> <param-value>WARNING</param-value> </context-param>
AdfLogger.LOGGER.logMessage(AdfLogger.SEVERE, "This is from your logger!");
This is really a nice feature. When running with Firebug, you see the messages inside of the FB console!