org.semwebcentral.sweetrules.infrastructure
Class SweetLogger

java.lang.Object
  extended byLogger
      extended byorg.semwebcentral.sweetrules.infrastructure.SweetLogger

public class SweetLogger
extends Logger

Sweet logger class which does configuration of the logger since every log4j.logger is instantiated with a call to this class, the initial configuration is always performed Extending from Logger allows other classes to invoke any method of the Logger on SweetLogger

Author:
Shashidhara K Ganjugunte, Dr. Benjamin Grosof, Dr. Said Tabet, Chitravanu Neogy
See Also:
Serialized Form

Field Summary
private static java.lang.String logConfigFileName
           
 
Constructor Summary
private SweetLogger(java.lang.String className)
          Making the constructor private prevents anybody from calling it.
 
Method Summary
static Logger getLogger(java.lang.Class javaClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logConfigFileName

private static java.lang.String logConfigFileName
Constructor Detail

SweetLogger

private SweetLogger(java.lang.String className)
Making the constructor private prevents anybody from calling it. The constructor is written because the parent class has no default constructor

Parameters:
className -
Method Detail

getLogger

public static Logger getLogger(java.lang.Class javaClass)