[jboss-svn-commits] JBoss Common SVN: r1919 - in branches/logging_refactoring: common-logging-spi/src/main/java/org/jboss/logging src/main/org/jboss/logging

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Aug 3 09:36:54 EDT 2006


Author: ruel.loehr at jboss.com
Date: 2006-08-03 09:36:51 -0400 (Thu, 03 Aug 2006)
New Revision: 1919

Added:
   branches/logging_refactoring/common-logging-spi/src/main/java/org/jboss/logging/LoggerPlugin.java
Removed:
   branches/logging_refactoring/src/main/org/jboss/logging/LoggerPlugin.java
Log:
move spi classes to indep project

Copied: branches/logging_refactoring/common-logging-spi/src/main/java/org/jboss/logging/LoggerPlugin.java (from rev 1918, branches/logging_refactoring/src/main/org/jboss/logging/LoggerPlugin.java)

Deleted: branches/logging_refactoring/src/main/org/jboss/logging/LoggerPlugin.java
===================================================================
--- branches/logging_refactoring/src/main/org/jboss/logging/LoggerPlugin.java	2006-08-03 13:36:27 UTC (rev 1918)
+++ branches/logging_refactoring/src/main/org/jboss/logging/LoggerPlugin.java	2006-08-03 13:36:51 UTC (rev 1919)
@@ -1,70 +0,0 @@
-/*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
-package org.jboss.logging;
-
-/**
- * Defines a "pluggable" login module. In fact, this is only used to split between 
- * log4j and /dev/null. Choice is made in org.jboss.logging.Logger
- *
- * @see org.jboss.logging.Logger
- * @see org.jboss.logging.Log4jLoggerPlugin
- * @see org.jboss.logging.NullLoggerPlugin
- *
- * @author  <a href="mailto:sacha.labourey at cogito-info.ch">Sacha Labourey</a>.
- * @version $Revision$
- *
- * <p><b>Revisions:</b>
- *
- * <p><b>30 mai 2002 Sacha Labourey:</b>
- * <ul>
- * <li> First implementation </li>
- * </ul>
- */
-
-public interface LoggerPlugin
-{
-   // must be called first
-   //
-   public void init (String name);
-   
-   public boolean isTraceEnabled();
-   public void trace(Object message);
-   public void trace(Object message, Throwable t);
-
-   public boolean isDebugEnabled();
-   public void debug(Object message);
-   public void debug(Object message, Throwable t);
-
-   public boolean isInfoEnabled();
-   public void info(Object message);
-   public void info(Object message, Throwable t);
-
-   public void warn(Object message);
-   public void warn(Object message, Throwable t);
-
-   public void error(Object message);
-   public void error(Object message, Throwable t);
-
-   public void fatal(Object message);
-   public void fatal(Object message, Throwable t);
-   
-}




More information about the jboss-svn-commits mailing list