| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletLog
The PortletLog provides the portlet with the ability to log information, warning, or error texts. The log is maintained by the portlet container. The type and location of of the log is a matter of implementation. Also, whether logging is enabled or not is at the discretion of the portlet container.
... PortletLog log = iContext.getLog (); if (log.isWarnEnabled()) log.warn ("Can access the content source"); ...
Method Summary | |
---|---|
void | debug(java.lang.String text)
Deprecated. Logs the given informational text in the portlet log. |
void | error(java.lang.String text)
Deprecated. Logs the given error text in the portlet log. |
void | error(java.lang.String text,
java.lang.Throwable cause)
Deprecated. Logs the given error text, cause, and a stack trace in the portlet log. |
void | info(java.lang.String text)
Deprecated. Logs the given informational text in the portlet log. |
boolean | isDebugEnabled()
Deprecated. Returns whether the debug level of the portlet log is enabled. |
boolean | isErrorEnabled()
Deprecated. Returns whether the error level of the portlet log is enabled. |
boolean | isInfoEnabled()
Deprecated. Returns whether the info level of the portlet log is enabled. |
boolean | isWarnEnabled()
Deprecated. Returns whether the warn level of the portlet log is enabled. |
void | warn(java.lang.String text)
Deprecated. Logs the given warning text in the portlet log. |
Method Detail |
---|
boolean isDebugEnabled()
void debug(java.lang.String text)
boolean isInfoEnabled()
void info(java.lang.String text)
boolean isWarnEnabled()
void warn(java.lang.String text)
boolean isErrorEnabled()
void error(java.lang.String text)
void error(java.lang.String text, java.lang.Throwable cause)
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |