public static ERXLogger getERXLogger(Class clazz, String subTopic) { return (ERXLogger)getERXLogger(clazz.getName() + (subTopic != null && subTopic.length() > 0 ? "."+ subTopic : null));
public static ERXLogger getERXLogger(String name) { Logger logger = getLogger(name); if(logger != null && !(logger instanceof ERXLogger)) throw new RuntimeException("Can't load Logger for \""+name+"\" because it is not of class ERXLogger but \""+logger.getClass().getName()+"\". Let your Application class inherit from ERXApplication or call ERXLog4j.configureLogging() statically the first thing in your app. \nAlso check if there is a \"log4j.loggerFactory=er.extensions.ERXLogger$Factory\" line in your properties."); return (ERXLogger)logger;
    public static ERXLogger getERXLogger(Class clazz, String subTopic) {        return (ERXLogger)getERXLogger(clazz.getName() + (subTopic != null && subTopic.length() > 0 ? "."+ subTopic : null));    }