Class VfsLog

java.lang.Object
org.apache.commons.vfs2.VfsLog

public final class VfsLog extends Object
This class is to keep the old logging behavior (for ant-task) and to be able to correctly use commons-logging. I hope I could remove it sometimes.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    debug(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonslog, String message)
    debug.
    static void
    debug(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, String message, Throwable t)
    debug.
    static void
    error(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, String message)
    error.
    static void
    error(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, String message, Throwable t)
    error.
    static void
    fatal(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, String message)
    fatal.
    static void
    fatal(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, String message, Throwable t)
    fatal.
    static void
    info(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, String message)
    info.
    static void
    info(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, String message, Throwable t)
    info.
    static void
    warn(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonslog, String message)
    warning.
    static void
    warn(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonslog, String message, Throwable t)
    warning.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • debug

      public static void debug(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonslog, String message)
      debug.
      Parameters:
      vfsLog - The base component Logger to use.
      commonslog - The class specific Logger
      message - The message to log.
    • debug

      public static void debug(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, String message, Throwable t)
      debug.
      Parameters:
      vfsLog - The base component Logger to use.
      commonsLog - The class specific Logger
      message - The message to log.
      t - The exception, if any.
    • error

      public static void error(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, String message)
      error.
      Parameters:
      vfsLog - The base component Logger to use.
      commonsLog - The class specific Logger
      message - The message to log.
    • error

      public static void error(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, String message, Throwable t)
      error.
      Parameters:
      vfsLog - The base component Logger to use.
      commonsLog - The class specific Logger
      message - The message to log.
      t - The exception, if any.
    • fatal

      public static void fatal(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, String message)
      fatal.
      Parameters:
      vfsLog - The base component Logger to use.
      commonsLog - The class specific Logger
      message - The message to log.
    • fatal

      public static void fatal(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, String message, Throwable t)
      fatal.
      Parameters:
      vfsLog - The base component Logger to use.
      commonsLog - The class specific Logger
      message - The message to log.
      t - The exception, if any.
    • info

      public static void info(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, String message)
      info.
      Parameters:
      vfsLog - The base component Logger to use.
      commonsLog - The class specific Logger
      message - The message to log.
    • info

      public static void info(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, String message, Throwable t)
      info.
      Parameters:
      vfsLog - The base component Logger to use.
      commonsLog - The class specific Logger
      message - The message to log.
      t - The exception, if any.
    • warn

      public static void warn(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonslog, String message)
      warning.
      Parameters:
      vfsLog - The base component Logger to use.
      commonslog - The class specific Logger
      message - The message to log.
    • warn

      public static void warn(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonslog, String message, Throwable t)
      warning.
      Parameters:
      vfsLog - The base component Logger to use.
      commonslog - The class specific Logger
      message - The message to log.
      t - The exception, if any.