Exemple #1
0
 public static Logger getLogger(Class clazz) {
   return ERXLogger.getERXLogger(clazz);
 }
Exemple #2
0
 // ENHANCEME: We could do something more useful here...
 public static ERXLogger getERXLogger(Class clazz, String subTopic) {
   return ERXLogger.getERXLogger(
       clazz.getName() + (subTopic != null && subTopic.length() > 0 ? "." + subTopic : null));
 }
Exemple #3
0
 /**
  * Creates a logger for a given class object. Gets a logger for the fully qualified class name of
  * the given class.
  *
  * @param clazz Class object to create the logger for
  * @return logger for the given class name
  */
 public static ERXLogger getERXLogger(Class clazz) {
   return ERXLogger.getERXLogger(clazz.getName());
 }