Search in sources :

Example 1 with EquinoxLoggerContext

use of org.eclipse.osgi.internal.log.ExtendedLogServiceFactory.EquinoxLoggerContext in project rt.equinox.framework by eclipse.

the class LoggerContextTargetMap method createLoggerContext.

LoggerContext createLoggerContext(String name, ExtendedLogServiceFactory factory) {
    EquinoxLoggerContext loggerContext = loggerContexts.get(name);
    if (loggerContext == null) {
        loggerContext = factory.createEquinoxLoggerContext(name);
        loggerContexts.put(name, loggerContext);
    }
    return loggerContext;
}
Also used : EquinoxLoggerContext(org.eclipse.osgi.internal.log.ExtendedLogServiceFactory.EquinoxLoggerContext)

Aggregations

EquinoxLoggerContext (org.eclipse.osgi.internal.log.ExtendedLogServiceFactory.EquinoxLoggerContext)1