
Classes | |
| class | Log |
Public Member Functions | |
| AjaxRemoteLogging (String arg0, NSDictionary arg1, WOElement arg2) | |
| void | appendToResponse (WOResponse response, WOContext context) |
| WOActionResults | handleRequest (WORequest request, WOContext context) |
Protected Member Functions | |
| void | addRequiredWebResources (WOResponse response, WOContext context) |
Private Attributes | |
| WOAssociation | _filter |
| WOAssociation | _level |
| WOAssociation | _logger |
| WOAssociation | _throttle |
window.console JS messages from the browser to a logger on the server. Pretty helpful when trying to debug JS problems that do not occur on your machine. As you will to a round trip to the server on each message, it's pretty costly and should be used with care.logger the log4j logger to append to (default: "AjaxRemoteLogging") level the log4j logging level to use (default: "info") throttle the number of milliseconds to collect statements before actually sending (default: 100) filter a javascript function that returns true on a single argument msg when the logging should go to the server
| AjaxRemoteLogging | ( | String | arg0, | |
| NSDictionary | arg1, | |||
| WOElement | arg2 | |||
| ) |
| void addRequiredWebResources | ( | WOResponse | response, | |
| WOContext | context | |||
| ) | [protected, virtual] |
Override this method to append the needed scripts for this component.
Implements AjaxDynamicElement.
| void appendToResponse | ( | WOResponse | response, | |
| WOContext | context | |||
| ) |
Overridden to call addRequiredWebResources(WOResponse, WOContext).
Reimplemented from AjaxDynamicElement.
| WOActionResults handleRequest | ( | WORequest | request, | |
| WOContext | context | |||
| ) | [virtual] |
Override this method to return the response for an Ajax request.
| request | ||
| context |
Implements AjaxDynamicElement.
WOAssociation _filter [private] |
WOAssociation _level [private] |
WOAssociation _logger [private] |
WOAssociation _throttle [private] |
1.5.8