logElapsedRunningTime
void session.logElapsedRunningTime ( ) (professional and enterprise editions only)
Description
Write scrape run time to the log (at most verbose level). It is formatted to be human readable, including breaking it into days, hours, minutes, and seconds.
Parameters
This method does not receive any parameters.
Return Values
Returns void. If an error occurs, an error will be thrown.
Change Log
Version | Description |
---|---|
4.5 | Available for professional and enterprise editions. |
Examples
Log Time the Scrape has been Running
// Output the running time to the log.
session.logElapsedRunningTime();
session.logElapsedRunningTime();
See Also
- getElapsedRunningTime() [session] - Returns the elapsed running time
scraper on 07/16/2010 at 4:55 pm
- Printer-friendly version
- Login or register to post comments