com.github.marschall.log4j.equinox.EquinoxProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.github.marschall.log4j-equinox Show documentation
Show all versions of com.github.marschall.log4j-equinox Show documentation
A Log4j 2 API implementation using the Equinox ExtendedLogService.
The newest version!
package com.github.marschall.log4j.equinox;
import org.apache.logging.log4j.spi.NoOpThreadContextMap;
import org.apache.logging.log4j.spi.Provider;
/**
* Bind the Log4j API to Equinox.
*/
public final class EquinoxProvider extends Provider {
/**
* Default constructor called by service loader.
*/
public EquinoxProvider() {
// see org.apache.logging.log4j.util.ProviderUtil.COMPATIBLE_API_VERSIONS
super(17, "2.6.0", EquinoxLoggerContextFactory.class, NoOpThreadContextMap.class);
}
}