public class FallbackLogFactory extends Object
FileServiceLog which is a default/fallback PaxLogger
that writes to single FileOutputStream.| Constructor and Description |
|---|
FallbackLogFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanup()
Because
FallbackLogFactory may be Private-Packaged in all the backends (and in pax-logging-api too),
each bundle has to call cleanup() in it's BundleActivator.stop(BundleContext). |
static PaxLogger |
createFallbackLog(org.osgi.framework.Bundle requestingBundle,
String categoryName)
Create
PaxLogger that doesn't delegate to logger from specific
PaxLoggingService. |
public static PaxLogger createFallbackLog(org.osgi.framework.Bundle requestingBundle, String categoryName)
PaxLogger that doesn't delegate to logger from specific
PaxLoggingService.requestingBundle - a bundle requesting fallback logger that'll be used when we can't detect better onecategoryName - public static void cleanup()
FallbackLogFactory may be Private-Packaged in all the backends (and in pax-logging-api too),
each bundle has to call cleanup() in it's BundleActivator.stop(BundleContext).Copyright © 2006–2023 OPS4J - Open Participation Software for Java. All rights reserved.