log

Log

log

void log.log ( Object message )

Description

Write message to the log.

warn

void log.warn ( Object message )

Description

Write message to the log.

info

void log.info ( Object message )

Description

Write message to the log.

error

void log.error ( Object message )

Description

Write message to the log.

debug

void log.debug ( Object message )

Description

Write message to the log.

appendStatusMessage

boolean log.appendStatusMessage ( String message ) (enterprise edition only)

Description

Appends a status message to be displayed in the web interface.

Parameters

  • message The message to be appended.

Return Values

None

addAutoProgressBar

void log.addAutoProgressBar ( String name, String ... values ) (enterprise edition only)
void log.addAutoProgressBar ( String name, String[][] values ) (enterprise edition only)

cacheScrapeableFile

File log.cacheScrapeableFile ( ScrapeableFile scrapeableFile ) (professional and enterprise editions only)

Description

Caches the HTML and headers of the scrapeable file. This will include both the request and response headers.

Parameters

  • scrapeableFile The scrapeable file to cache.

cacheText

File log.cacheText ( String name, String content, String encoding ) (professional and enterprise editions only)
File log.cacheText ( String name, String content ) (professional and enterprise editions only)

Description

cacheFile

File log.cacheFile ( String outputFilenameAndPath, File fileToCache ) (professional and enterprise editions only)

Description

Adds a file to the cache. This can be used to add anything to the cache, from a text file to an image that was downloaded, or any other file that would be useful.