You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Apache Wiki <wi...@apache.org> on 2005/11/18 01:23:30 UTC

[Jakarta-velocity Wiki] Update of "LogChuteCommonsLog" by NathanBubna

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-velocity Wiki" for change notification.

The following page has been changed by NathanBubna:
http://wiki.apache.org/jakarta-velocity/LogChuteCommonsLog

The comment on the change is:
fix some errors

------------------------------------------------------------------------------
       */
      public static void setVelocityLog(Log target)
      {
-         this.target = target;
+         LogChuteCommonsLog.target = target;
      }
  
  
@@ -130, +130 @@

       */
      public void info(Object message, Throwable t)
      {
-         getTarget().inf(message, t);
+         getTarget().info(message, t);
      }
  
      /**
@@ -189, +189 @@

       */
      public boolean isTraceEnabled()
      {
-         getTarget().isTraceEnabled();
+         return getTarget().isTraceEnabled();
      }
  
      /** 
@@ -198, +198 @@

       */
      public boolean isDebugEnabled()
      {
-         getTarget().isDebugEnabled();
+         return getTarget().isDebugEnabled();
      }
  
      /** 
@@ -207, +207 @@

       */
      public boolean isInfoEnabled()
      {
-         getTarget().isInfoEnabled();
+         return getTarget().isInfoEnabled();
      }
  
      /** 
@@ -216, +216 @@

       */
      public boolean isWarnEnabled()
      {
-         getTarget().isWarnEnabled();
+         return getTarget().isWarnEnabled();
      }
  
      /** 
@@ -225, +225 @@

       */
      public boolean isErrorEnabled()
      {
-         getTarget().isErrorEnabled();
+         return getTarget().isErrorEnabled();
      }
  
      /** 
@@ -238, +238 @@

      }
  
  }
+ 
  }}}
  

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org