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 Link icon

    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 Link icon

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

    • debug Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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.