cgl.narada.util.logging
Class LoggerFactory

java.lang.Object
  extended by cgl.narada.util.logging.LoggerFactory

public class LoggerFactory
extends Object

Version:
1.0

Constructor Summary
LoggerFactory()
           
 
Method Summary
static Logger getLogger(Class clazz)
           
static Logger getLogger(String name)
           
protected  Constructor getLoggerConstructor()
          IMPLEMENTATION NOTE - Race conditions caused by calling this method from more than one thread are ignored, because the same Constructor instance will ultimately be derived in all circumstances.
protected  String getLoggerFQCN()
           
protected  boolean isJavaLoggerAvailable()
           
protected  boolean isLog4jAvailable()
           
static void release()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerFactory

public LoggerFactory()
Method Detail

getLogger

public static Logger getLogger(Class clazz)
                        throws LoggingException
Throws:
LoggingException

getLogger

public static Logger getLogger(String name)
                        throws LoggingException
Throws:
LoggingException

release

public static void release()

getLoggerFQCN

protected String getLoggerFQCN()

getLoggerConstructor

protected Constructor getLoggerConstructor()
                                    throws LoggingException

IMPLEMENTATION NOTE - Race conditions caused by calling this method from more than one thread are ignored, because the same Constructor instance will ultimately be derived in all circumstances.

Throws:
LoggingException

isJavaLoggerAvailable

protected boolean isJavaLoggerAvailable()

isLog4jAvailable

protected boolean isLog4jAvailable()


For comments and suggestions please send e-mail to The NaradaBrokering Project