Search in sources :

Example 6 with LogsConfigBean

use of org.eweb4j.config.bean.LogsConfigBean in project eweb4j-framework by laiweiwei.

the class LogFactory method getMVCLogger.

public static Log getMVCLogger(Class<?> clazz) {
    ConfigBean cb = (ConfigBean) SingleBeanCache.get(ConfigBean.class.getName());
    LogsConfigBean logs = cb == null ? new LogsConfigBean() : cb.getMvc().getLogs();
    return new LogImpl(logs, "MVC", clazz);
}
Also used : LogsConfigBean(org.eweb4j.config.bean.LogsConfigBean) ConfigBean(org.eweb4j.config.bean.ConfigBean) LogsConfigBean(org.eweb4j.config.bean.LogsConfigBean) LogConfigBean(org.eweb4j.config.bean.LogConfigBean)

Aggregations

LogsConfigBean (org.eweb4j.config.bean.LogsConfigBean)6 LogConfigBean (org.eweb4j.config.bean.LogConfigBean)5 ConfigBean (org.eweb4j.config.bean.ConfigBean)4 ActionXmlFile (org.eweb4j.config.bean.ActionXmlFile)1 ConfigIOC (org.eweb4j.config.bean.ConfigIOC)1 ConfigMVC (org.eweb4j.config.bean.ConfigMVC)1 ConfigORM (org.eweb4j.config.bean.ConfigORM)1 DBInfoXmlFiles (org.eweb4j.config.bean.DBInfoXmlFiles)1 Ddl (org.eweb4j.config.bean.Ddl)1 I18N (org.eweb4j.config.bean.I18N)1 IOCXmlFiles (org.eweb4j.config.bean.IOCXmlFiles)1 InterXmlFile (org.eweb4j.config.bean.InterXmlFile)1 Locale (org.eweb4j.config.bean.Locale)1 ORMXmlFiles (org.eweb4j.config.bean.ORMXmlFiles)1 Prop (org.eweb4j.config.bean.Prop)1 Properties (org.eweb4j.config.bean.Properties)1 ScanActionPackage (org.eweb4j.config.bean.ScanActionPackage)1 ScanInterceptorPackage (org.eweb4j.config.bean.ScanInterceptorPackage)1 ScanPojoPackage (org.eweb4j.config.bean.ScanPojoPackage)1 UploadConfigBean (org.eweb4j.config.bean.UploadConfigBean)1