public static Logger getLogger(Class clazz) { return ERXLogger.getERXLogger(clazz); }
// 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)); }
/** * 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()); }