com.vinculumtech.platform.root.handler
Class Log4JLoggingHandler

java.lang.Object
  extended bycom.vinculumtech.platform.root.handler.Log4JLoggingHandler
All Implemented Interfaces:
LoggingHandler

public final class Log4JLoggingHandler
extends java.lang.Object
implements LoggingHandler

The LoggingRoot class is the root of all logging functions. It is mainly a convenience.

Version:
$Id: //depot/carrierwave/src/shared/com/vinculumtech/platform/root/handler/Log4JLoggingHandler.java#1 $

Constructor Summary
Log4JLoggingHandler()
          Cannot instantiate this class
 
Method Summary
 boolean isDebugEnabledFor(java.lang.Class type)
           
 boolean isDebugEnabledFor(java.lang.String type)
           
 boolean isInfoEnabledFor(java.lang.Class type)
           
 boolean isInfoEnabledFor(java.lang.String type)
           
 boolean isPlatformDebugEnabled()
           
 boolean isPlatformInfoEnabled()
           
 void logDebug(java.lang.Class type, java.lang.Object message, java.lang.Throwable throwable)
           
 void logError(java.lang.Class type, java.lang.Object message, java.lang.Throwable throwable)
           
 void logInfo(java.lang.Class type, java.lang.Object message, java.lang.Throwable throwable)
           
 void logPlatformDebug(java.lang.String message)
           
 void logPlatformDebug(java.lang.String message, java.lang.Throwable throwable)
           
 void logPlatformError(java.lang.String message)
           
 void logPlatformError(java.lang.String message, java.lang.Throwable throwable)
           
 void logPlatformInfo(java.lang.String message)
           
 void logPlatformInfo(java.lang.String message, java.lang.Throwable throwable)
           
 void logPlatformWarning(java.lang.String message)
           
 void logPlatformWarning(java.lang.String message, java.lang.Throwable throwable)
           
 void logWarning(java.lang.Class type, java.lang.Object message, java.lang.Throwable throwable)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4JLoggingHandler

public Log4JLoggingHandler()
Cannot instantiate this class

Method Detail

start

public void start()
Specified by:
start in interface LoggingHandler

logDebug

public void logDebug(java.lang.Class type,
                     java.lang.Object message,
                     java.lang.Throwable throwable)
Specified by:
logDebug in interface LoggingHandler

logInfo

public void logInfo(java.lang.Class type,
                    java.lang.Object message,
                    java.lang.Throwable throwable)
Specified by:
logInfo in interface LoggingHandler

logWarning

public void logWarning(java.lang.Class type,
                       java.lang.Object message,
                       java.lang.Throwable throwable)
Specified by:
logWarning in interface LoggingHandler

logError

public void logError(java.lang.Class type,
                     java.lang.Object message,
                     java.lang.Throwable throwable)
Specified by:
logError in interface LoggingHandler

logPlatformDebug

public void logPlatformDebug(java.lang.String message)
Specified by:
logPlatformDebug in interface LoggingHandler

logPlatformDebug

public void logPlatformDebug(java.lang.String message,
                             java.lang.Throwable throwable)
Specified by:
logPlatformDebug in interface LoggingHandler

logPlatformInfo

public void logPlatformInfo(java.lang.String message)
Specified by:
logPlatformInfo in interface LoggingHandler

logPlatformInfo

public void logPlatformInfo(java.lang.String message,
                            java.lang.Throwable throwable)
Specified by:
logPlatformInfo in interface LoggingHandler

logPlatformWarning

public void logPlatformWarning(java.lang.String message)
Specified by:
logPlatformWarning in interface LoggingHandler

logPlatformWarning

public void logPlatformWarning(java.lang.String message,
                               java.lang.Throwable throwable)
Specified by:
logPlatformWarning in interface LoggingHandler

logPlatformError

public void logPlatformError(java.lang.String message)
Specified by:
logPlatformError in interface LoggingHandler

logPlatformError

public void logPlatformError(java.lang.String message,
                             java.lang.Throwable throwable)
Specified by:
logPlatformError in interface LoggingHandler

isPlatformDebugEnabled

public boolean isPlatformDebugEnabled()
Specified by:
isPlatformDebugEnabled in interface LoggingHandler

isDebugEnabledFor

public boolean isDebugEnabledFor(java.lang.Class type)
Specified by:
isDebugEnabledFor in interface LoggingHandler

isDebugEnabledFor

public boolean isDebugEnabledFor(java.lang.String type)
Specified by:
isDebugEnabledFor in interface LoggingHandler

isPlatformInfoEnabled

public boolean isPlatformInfoEnabled()
Specified by:
isPlatformInfoEnabled in interface LoggingHandler

isInfoEnabledFor

public boolean isInfoEnabledFor(java.lang.Class type)
Specified by:
isInfoEnabledFor in interface LoggingHandler

isInfoEnabledFor

public boolean isInfoEnabledFor(java.lang.String type)
Specified by:
isInfoEnabledFor in interface LoggingHandler


Copyright (C) 2002 Vinculum Technologies, Inc. All Rights Reserved.