addMonitoredPostfix
void log.addMonitoredPostfix ( String postfix ) (enterprise edition only)
Description
Watches for all session variables whose keys end with the postfix specified, and will output their values when monitored variables are logged.
Parameters
- postfix The postfix to monitor
Return Value
This method returns void.
Change Log
Version | Description |
---|---|
5.5.29a | Available in all editions. |
5.5.42a | Moved from session to log class. |
Examples
Watch all variables ending with _PARAM and log their values
log.addMonitoredPostfix("_PARAM");
// Log the current value of all session variables whose name end with _PARAM
log.logMonitoredValues();
// Log the current value of all session variables whose name end with _PARAM
log.logMonitoredValues();
mikes on 11/18/2011 at 5:28 pm
- Printer-friendly version
- Login or register to post comments