类 LogFactoryService
- java.lang.Object
- org.apache.commons.logging.LogFactory
- org.apache.commons.logging.LogFactoryService
@Deprecated public class LogFactoryService extends LogFactory
已过时。since it is only meant to be used in the above-mentioned fallback scenarioA minimal subclass of the standard Apache Commons Logging'sLogFactoryclass, overriding the abstractgetInstancelookup methods. This is just applied in case of the standardcommons-loggingjar accidentally ending up on the classpath, with the standardLogFactoryclass performing its META-INF service discovery. This implementation simply delegates to Spring's commonLogfactory methods.- 从以下版本开始:
- 5.1
- 作者:
- Juergen Hoeller
构造器概要
构造器 构造器 说明 LogFactoryService()已过时。
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 ObjectgetAttribute(String name)已过时。String[]getAttributeNames()已过时。LoggetInstance(Class<?> clazz)已过时。Convenience method to return a named logger.LoggetInstance(String name)已过时。Convenience method to return a named logger.voidrelease()已过时。voidremoveAttribute(String name)已过时。voidsetAttribute(String name, Object value)已过时。从类继承的方法 org.apache.commons.logging.LogFactory
getFactory, getLog, getLog
构造器详细资料
LogFactoryService
public LogFactoryService()
已过时。
方法详细资料
getInstance
public Log getInstance(Class<?> clazz)
已过时。从类复制的说明:LogFactoryConvenience method to return a named logger.This variant just dispatches straight to
LogFactory.getLog(Class).- 覆盖:
getInstance在类中LogFactory- 参数:
clazz- containing Class from which a log name will be derived
getInstance
public Log getInstance(String name)
已过时。从类复制的说明:LogFactoryConvenience method to return a named logger.This variant just dispatches straight to
LogFactory.getLog(String).- 覆盖:
getInstance在类中LogFactory- 参数:
name- logical name of theLoginstance to be returned
setAttribute
public void setAttribute(String name, Object value)
已过时。
removeAttribute
public void removeAttribute(String name)
已过时。
getAttribute
public Object getAttribute(String name)
已过时。
getAttributeNames
public String[] getAttributeNames()
已过时。
release
public void release()
已过时。