org.jboss.netty.logging
类 OsgiLoggerFactory
java.lang.Object
org.jboss.netty.logging.InternalLoggerFactory
org.jboss.netty.logging.OsgiLoggerFactory
public class OsgiLoggerFactory
- extends InternalLoggerFactory
创建一个OSGi LogService
logger的工厂.
从类 java.lang.Object 继承的方法 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OsgiLoggerFactory
public OsgiLoggerFactory(org.osgi.framework.BundleContext ctx)
OsgiLoggerFactory
public OsgiLoggerFactory(org.osgi.framework.BundleContext ctx,
InternalLoggerFactory fallback)
getFallback
public InternalLoggerFactory getFallback()
getLogService
public org.osgi.service.log.LogService getLogService()
destroy
public void destroy()
newInstance
public InternalLogger newInstance(java.lang.String name)
- 从类
InternalLoggerFactory
复制的描述
- 使用指定的名称创建一个logger实例.
- 指定者:
- 类
InternalLoggerFactory
中的 newInstance