public interface ScrapingSessionNotifiable extends Notifiable
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
log
Used for logging.
|
LEVEL_DEBUG, LEVEL_ERROR, LEVEL_INFO, LEVEL_WARN, STR_LEVEL_DEBUG, STR_LEVEL_ERROR, STR_LEVEL_INFO, STR_LEVEL_WARN| Modifier and Type | Method and Description |
|---|---|
int |
getLoggingLevel()
Gets the current logging level.
|
void |
log(java.lang.String message)
Logs a messgae.
|
void |
logDebug(java.lang.String message)
Logs a message with LEVEL_DEBUG.
|
void |
logError(java.lang.String message)
Logs a message with LEVEL_ERROR.
|
void |
logInfo(java.lang.String message)
Logs a message with LEVEL_INFO.
|
void |
logWarn(java.lang.String message)
Logs a message with LEVEL_WARN.
|
void |
scrapingSessionCompleted()
Indicates that the scraping session has ended.
|
void |
setLoggingLevel(int loggingLevel)
Sets the current logging level.
|
void log(java.lang.String message)
log in interface Notifiablemessage - The message to be logged.void scrapingSessionCompleted()
int getLoggingLevel()
getLoggingLevel in interface Notifiablevoid setLoggingLevel(int loggingLevel)
setLoggingLevel in interface NotifiableloggingLevel - The logging level, as defined by one of the
"LOGGING" constants.void logDebug(java.lang.String message)
logDebug in interface Notifiablemessage - The message to be logged.void logInfo(java.lang.String message)
logInfo in interface Notifiablemessage - The message to be logged.void logWarn(java.lang.String message)
logWarn in interface Notifiablemessage - The message to be logged.void logError(java.lang.String message)
logError in interface Notifiablemessage - The message to be logged.