public final class ProviderRegistry
extends java.lang.Object
As service registered logging providers will be loaded from META-INF/services
. If there are multiple logging
providers, they will be combined to one.
Modifier and Type | Method | Description |
---|---|---|
static LoggingProvider |
getLoggingProvider() |
Returns the actual logging provider.
|
static java.util.List<LoggingProvider> |
getLoggingProviders() |
Gets all loaded logging providers.
|
public static LoggingProvider getLoggingProvider()
Multiple providers will be combined to one. If there are no logging providers, a stub implementation will be
returned instead of null
.
public static java.util.List<LoggingProvider> getLoggingProviders()
If the logging provider is a BundleLoggingProvider
resolve its contents and return them.
Copyright © 2022. All rights reserved.