getLogFileName
String session.getLogFileName ( ) (professional and enterprise editions only)
Description
Get the name of the current log file.
Parameters
This method does not receive any parameters.
Return Values
Returns the name of the log file, as a string.
Change Log
Version | Description |
---|---|
4.5 | Available for professional and enterprise editions. |
This method can be very helpful when screen-scraper is running in server mode and you are tracking the log where the scrape of a record is located, or for tracking the location of errors in larger scrapes.
Examples
Get Log's File Name
// Output the name of the log file to the session log.
logName = session.getLogFileName();
logName = session.getLogFileName();
scraper on 07/16/2010 at 4:54 pm
- Printer-friendly version
- Login or register to post comments