Package org.jboss.netty.logging
Class OsgiLoggerFactory
java.lang.Object
org.jboss.netty.logging.InternalLoggerFactory
org.jboss.netty.logging.OsgiLoggerFactory
Logger factory which creates an OSGi
LogService logger.-
Constructor Summary
ConstructorsConstructorDescriptionOsgiLoggerFactory(org.osgi.framework.BundleContext ctx) OsgiLoggerFactory(org.osgi.framework.BundleContext ctx, InternalLoggerFactory fallback) -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()org.osgi.service.log.LogServicenewInstance(String name) Creates a new logger instance with the specified name.Methods inherited from class org.jboss.netty.logging.InternalLoggerFactory
getDefaultFactory, getInstance, getInstance, setDefaultFactory
-
Constructor Details
-
OsgiLoggerFactory
public OsgiLoggerFactory(org.osgi.framework.BundleContext ctx) -
OsgiLoggerFactory
-
-
Method Details
-
getFallback
-
getLogService
public org.osgi.service.log.LogService getLogService() -
destroy
public void destroy() -
newInstance
Description copied from class:InternalLoggerFactoryCreates a new logger instance with the specified name.- Specified by:
newInstancein classInternalLoggerFactory
-