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();

See Also