org.frameworkset.log.DefaultBaseLogger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bboss-core Show documentation
Show all versions of bboss-core Show documentation
bboss is a j2ee framework include aop/ioc,mvc,persistent,taglib,rpc,event ,bean-xml serializable and so on.http://www.bbossgroups.com
package org.frameworkset.log;
import org.slf4j.Logger;
/**
*
* Title: DefaultBaseLogger.java
*
* Description:
*
* Copyright (c) 2009
*
* bboss workgroup
* @Date 2009-11-16
* @author biaoping.yin
* @version 1.0
*/
public class DefaultBaseLogger implements BaseLogger
{
Logger log = null;
public DefaultBaseLogger(Logger log)
{
this.log = log;
}
public DefaultBaseLogger()
{
}
public void logBasic(String subject, String log)
{
if(this.log != null)
this.log.debug(subject + "--" + log);
else
System.out.println(subject + "--" + log);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy