Method Summary |
|
public void | cleared(CrawlEvent event) Notify that the crawler's state was cleared. |
public void | crawled(LinkEvent event) Notify that a link event occured. |
public boolean | getOnlyNetworkEvents() Test whether logger prints only network-related LinkEvents.
If true, then the logger only prints LinkEvents where
LinkEvent.isNetworkEvent() returns true. |
public static EventLog | monitor(Crawler crawler) Create a EventLog that prints to standard error and attach it to a crawler. |
public void | paused(CrawlEvent event) Notify that the crawler paused. |
public void | setOnlyNetworkEvents(boolean flag) Set whether logger prints only network-related LinkEvents.
If true, then the logger only prints LinkEvents where
LinkEvent.isNetworkEvent() returns true. |
public void | started(CrawlEvent event) Notify that the crawler started. |
public void | stopped(CrawlEvent event) Notify that the crawler has stopped. |
public void | timedOut(CrawlEvent event) Notify that the crawler timed out. |