Package org.apache.commons.vfs2
Class VfsLog
- java.lang.Object
-
- org.apache.commons.vfs2.VfsLog
-
public final class VfsLog extends java.lang.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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddebug(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonslog, java.lang.String message)debug.static voiddebug(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, java.lang.String message, java.lang.Throwable t)debug.static voiderror(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, java.lang.String message)error.static voiderror(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, java.lang.String message, java.lang.Throwable t)error.static voidfatal(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, java.lang.String message)fatal.static voidfatal(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, java.lang.String message, java.lang.Throwable t)fatal.static voidinfo(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, java.lang.String message)info.static voidinfo(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonsLog, java.lang.String message, java.lang.Throwable t)info.static voidwarn(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonslog, java.lang.String message)warning.static voidwarn(org.apache.commons.logging.Log vfsLog, org.apache.commons.logging.Log commonslog, java.lang.String message, java.lang.Throwable t)warning.
-
-
-
Method Detail
-
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 Loggermessage- 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 Loggermessage- 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 Loggermessage- 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 Loggermessage- 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 Loggermessage- 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 Loggermessage- 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 Loggermessage- The message to log.
-
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 Loggermessage- 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 Loggermessage- The message to log.
-
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 Loggermessage- The message to log.t- The exception, if any.
-
-