public class OsgiLoggerFactory extends InternalLoggerFactory
LogService logger.| Modifier and Type | Field and Description |
|---|---|
private InternalLoggerFactory |
fallback |
(package private) org.osgi.service.log.LogService |
logService |
private org.osgi.util.tracker.ServiceTracker |
logServiceTracker |
| Constructor and Description |
|---|
OsgiLoggerFactory(org.osgi.framework.BundleContext ctx) |
OsgiLoggerFactory(org.osgi.framework.BundleContext ctx,
InternalLoggerFactory fallback) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
InternalLoggerFactory |
getFallback() |
org.osgi.service.log.LogService |
getLogService() |
InternalLogger |
newInstance(java.lang.String name)
Creates a new logger instance with the specified name.
|
getDefaultFactory, getInstance, getInstance, setDefaultFactoryprivate final org.osgi.util.tracker.ServiceTracker logServiceTracker
private final InternalLoggerFactory fallback
volatile org.osgi.service.log.LogService logService
public OsgiLoggerFactory(org.osgi.framework.BundleContext ctx)
public OsgiLoggerFactory(org.osgi.framework.BundleContext ctx,
InternalLoggerFactory fallback)
public InternalLoggerFactory getFallback()
public org.osgi.service.log.LogService getLogService()
public void destroy()
public InternalLogger newInstance(java.lang.String name)
InternalLoggerFactorynewInstance in class InternalLoggerFactory