public class FilterBridgeImpl
extends org.apache.log4j.spi.Filter
PaxFilter
OSGi service.
Internal tracker is closed when pax-logging-service bundle stops.Constructor and Description |
---|
FilterBridgeImpl(org.osgi.framework.BundleContext bundleContext,
String name,
org.apache.log4j.spi.Filter fallback) |
Modifier and Type | Method and Description |
---|---|
static org.osgi.framework.Filter |
createFilter(org.osgi.framework.BundleContext bundleContext,
String name)
Filter in the form of
(&(objectClass=org.ops4j.pax.logging.spi.PaxFilter)(org.ops4j.pax.logging.filter.name=NAME)) ,
where NAME comes from osgi: prefixed
references from logging configuration. |
int |
decide(org.apache.log4j.spi.LoggingEvent event) |
public FilterBridgeImpl(org.osgi.framework.BundleContext bundleContext, String name, org.apache.log4j.spi.Filter fallback)
public static org.osgi.framework.Filter createFilter(org.osgi.framework.BundleContext bundleContext, String name)
(&(objectClass=org.ops4j.pax.logging.spi.PaxFilter)(org.ops4j.pax.logging.filter.name=NAME))
,
where NAME
comes from osgi:
prefixed
references from logging configuration.bundleContext
- name
- public int decide(org.apache.log4j.spi.LoggingEvent event)
decide
in class org.apache.log4j.spi.Filter
Copyright © 2006–2019 OPS4J - Open Participation Software for Java. All rights reserved.