log

void log.log ( Object message )

Description

Write message to the log.

Parameters

  • message Message to be written to the log after being converted to a String using String.valueOf( message ).

Return Values

Returns void.

Change Log

Version Description
5.5 Now accepts any Object as a message
4.5 Available for all editions.

When the workbench is running, this will be found under the log tab for the scraping
session. When screen-scraper is running in server mode, the message will get sent to the corresponding .log file found in screen-scraper's log folder. When screen-scraper is invoked from the command
line, the message will get sent to standard out.

Examples

Write to Log

 // Sends the message to the log.
 log.log( "Inserting extracted data into the database." );

See Also

  • debug() [log] - Sends a message to the log as a debugging message
  • info() [log] - Sends a message to the log as an informative message
  • warn() [log] - Sends a message to the log as an warning message
  • error() [log] - Sends a message to the log as a error message
  • log() [session] - Write message to the log