This application shows how to use jaxer logging client side and also dynamically bound into Firebug if present.
index.html Source code for this single page App.
Client Side Logging Example
This example application demonstrates some easy methods to wrap server-side logging to make it available to client-side JavaScript.

You can view the source for this simple Ajax application by clicking on the icon in the title bar, or inside Aptana Studio you can import this sample and view the Source tab.

Any Jaxer log messages would appear in your Jaxer log file (jaxer.log). Inside Aptana Studio, you can right click on the Jaxer and internal preview servers in the servers view to view their log files. For external installations, logs reside in your Jaxer installation 'logs' directory. Apache log files (apache_error.log, access.log) are also stored in the same folder.

If you look in your log file you will see logging statements similar to those shown below appended to the log on each refresh of this page.

    15:23:56 12/26/2007 [  5132][INFO] [JS Framework] [framework.] some simple logging examples
    15:23:56 12/26/2007 [  5132][INFO] [JS Framework] [proxyLogger.proxyLog] a proxied info log statement
    15:23:56 12/26/2007 [  5132][WARNING] [JS Framework] [proxyLogger.proxyLog] a proxied warn log statement
    15:23:56 12/26/2007 [  5132][ERROR] [JS Framework] [proxyLogger.proxyLog] a proxied error log statement
      --> onCallback
      --> fire
      -->
    15:24:34 12/26/2007 [  5132][INFO] [JS Framework] [framework.] some simple logging examples
    15:24:35 12/26/2007 [  5132][INFO] [JS Framework] [proxyLogger.proxyLog] a proxied 'info' log statement
    15:24:35 12/26/2007 [  5132][WARNING] [JS Framework] [proxyLogger.proxyLog] a proxied 'warn' log statement
    15:24:35 12/26/2007 [  5132][ERROR] [JS Framework] [proxyLogger.proxyLog] a proxied 'error' log statement
      --> onCallback
      --> fire
      -->