org.apache.commons.vfs2
Class VfsLog

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

public final class VfsLog
extends Object

This class is to keep the old logging behaviour (for ant-task) and to be able to correctly use commons-logging.
I hope i could remove it sometimes.

Author:
Commons VFS team

Method Summary
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 Detail

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.

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.

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.

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.

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.

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.

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.

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.

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.


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.