org.apache.commons.vfs
Class VfsLog

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

public final class VfsLog
extends java.lang.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.

Version:
$Revision: 804548 $ $Date: 2009-08-16 04:12:32 +0200 (So, 16. Aug 2009) $
Author:
Mario Ivankovits

Method Summary
static void debug(org.apache.commons.logging.Log vfslog, org.apache.commons.logging.Log commonslog, java.lang.String message)
          debug.
static void debug(org.apache.commons.logging.Log vfslog, org.apache.commons.logging.Log commonslog, java.lang.String message, java.lang.Throwable t)
          debug.
static void error(org.apache.commons.logging.Log vfslog, org.apache.commons.logging.Log commonslog, java.lang.String message)
          error.
static void error(org.apache.commons.logging.Log vfslog, org.apache.commons.logging.Log commonslog, java.lang.String message, java.lang.Throwable t)
          error.
static void fatal(org.apache.commons.logging.Log vfslog, org.apache.commons.logging.Log commonslog, java.lang.String message)
          fatal.
static void fatal(org.apache.commons.logging.Log vfslog, org.apache.commons.logging.Log commonslog, java.lang.String message, java.lang.Throwable t)
          fatal.
static void info(org.apache.commons.logging.Log vfslog, org.apache.commons.logging.Log commonslog, java.lang.String message)
          info.
static void info(org.apache.commons.logging.Log vfslog, org.apache.commons.logging.Log commonslog, java.lang.String message, java.lang.Throwable t)
          info.
static void warn(org.apache.commons.logging.Log vfslog, org.apache.commons.logging.Log commonslog, java.lang.String message)
          warning.
static void warn(org.apache.commons.logging.Log vfslog, org.apache.commons.logging.Log commonslog, java.lang.String message, java.lang.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,
                        java.lang.String message,
                        java.lang.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,
                        java.lang.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,
                         java.lang.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,
                         java.lang.String message,
                         java.lang.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,
                        java.lang.String message,
                        java.lang.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,
                        java.lang.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,
                         java.lang.String message,
                         java.lang.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,
                         java.lang.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,
                         java.lang.String message,
                         java.lang.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,
                         java.lang.String message)
fatal.

Parameters:
vfslog - The base component Logger to use.
commonslog - The class specific Logger
message - The message to log.


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.