public interface ILogger
Logging entries are shown in ARCWAY Cockpit's error view. Note: Velocity logging has to be enabled in the ARCWAY Cockpit properties dialog.
| Modifier and Type | Method and Description |
|---|---|
void |
abort(java.lang.String message)
Aborts the script.
|
void |
checkForCancelation()
Call this frequently to check if the user wants to cancel the report
processing.
|
void |
debug(java.lang.String message)
Logs a message in debug level.
|
void |
error(java.lang.String message)
Logs a message in error level.
|
void |
info(java.lang.String message)
Logs a message in info level.
|
boolean |
isDebugEnabled()
Determines if debug leven is enabled.
|
void |
reportProgress(java.lang.String message)
Call this to inform the user about the current state of report
processing.
|
void |
warn(java.lang.String message)
Logs a message in warning level.
|
void error(java.lang.String message)
message - void warn(java.lang.String message)
message - void info(java.lang.String message)
message - boolean isDebugEnabled()
void debug(java.lang.String message)
message - void abort(java.lang.String message)
This method shows a rather technical error message.
message - a message that is displayed to the uservoid checkForCancelation()
throws com.arcway.cockpit.docgen.writer.ReportGenerationCanceledException
com.arcway.cockpit.docgen.writer.ReportGenerationCanceledExceptionvoid reportProgress(java.lang.String message)
throws com.arcway.cockpit.docgen.writer.ReportGenerationCanceledException
message - com.arcway.cockpit.docgen.writer.ReportGenerationCanceledException