Author: reinhard Date: Fri Mar 25 05:58:32 2005 New Revision: 159013 URL: http://svn.apache.org/viewcvs?view=rev&rev=159013 Log: make available loglevels public attributes of the LoggerFacade interface
Modified: cocoon/whiteboard/block-deployer/src/api/org/apache/cocoon/blockdeployer/logging/LoggerFacade.java Modified: cocoon/whiteboard/block-deployer/src/api/org/apache/cocoon/blockdeployer/logging/LoggerFacade.java URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/block-deployer/src/api/org/apache/cocoon/blockdeployer/logging/LoggerFacade.java?view=diff&r1=159012&r2=159013 ============================================================================== --- cocoon/whiteboard/block-deployer/src/api/org/apache/cocoon/blockdeployer/logging/LoggerFacade.java (original) +++ cocoon/whiteboard/block-deployer/src/api/org/apache/cocoon/blockdeployer/logging/LoggerFacade.java Fri Mar 25 05:58:32 2005 @@ -22,16 +22,26 @@ * @since 0.1 */ public interface LoggerFacade { + + public String LOG_ERROR = "ERROR"; + public String LOG_WARN = "WARN"; + public String LOG_INFO = "INFO"; + public String LOG_DEBUG = "DEBUG"; + + public void setLoglevel(String loglevel); public void debug(String msg); public void debug(Class clazz, String msg); public boolean isDebugEnabled(); + public void info(String msg); public void info(Class clazz, String msg); public boolean isInfoEnabled(); + public void warn(String msg); public void warn(Class clazz, String msg); public boolean isWarnEnabled(); + public void error(String error); public void error(Class clazz, String msg); public void error(Class clazz, String msg, Exception ex);