public final class ProviderRegistry extends 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 and Description |
---|---|
static LoggingProvider |
getLoggingProvider()
Returns the actual logging provider.
|
static 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 List<LoggingProvider> getLoggingProviders()
If the logging provider is a BundleLoggingProvider
resolve its contents and return them.
Copyright © 2024. All rights reserved.