|
Adobe LiveCycle Business Activity Monitoring ES API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface is provided for implementors of user-defined functions to log messages.
| Method Summary | |
boolean |
isDebugEnabled()
Returns true if logging at the DEBUG level is enabled for the com.celequest.functions.udf logger. |
void |
logDebug(String debugMessage)
Logs a message using the com.celequest.functions.udf logger at the DEBUG level. |
void |
logError(String errorMessage)
Logs a message using the com.celequest.functions.udf logger at the ERROR level. |
| Method Detail |
public void logError(String errorMessage)
errorMessage - a localized message to be logged at ERROR level.public boolean isDebugEnabled()
To avoid unnecessary function calls and parameter construction, clients should check this value before logging at the debug level.
if (_logger.isDebugEnabled())
{
_logger.logDebug(expensiveCallToGetLocalizedLogMessage(...));
}
public void logDebug(String debugMessage)
debugMessage - a localized message to be logged at DEBUG level.
|
Adobe LiveCycle Business Activity Monitoring ES API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||