/**
  * @param name
  * @return
  */
 public static Logger getLogger(String name) {
   Logger myLogger = null;
   if (name != null) {
     myLogger = new Logger();
     myLogger.logger = org.apache.log4j.Logger.getLogger(name);
     myLogger.setClassName(name);
   }
   return myLogger;
 }
 /**
  * @param clazz
  * @return
  */
 public static Logger getLogger(Class clazz) {
   Logger myLogger = null;
   if (clazz != null) {
     myLogger = new Logger();
     myLogger.logger = org.apache.log4j.Logger.getLogger(clazz);
     myLogger.setClassName(clazz.getName());
   }
   return myLogger;
 }