Package dev.getelements.elements.sdk
Class LoggingPermittedPackages
java.lang.Object
dev.getelements.elements.sdk.LoggingPermittedPackages
- All Implemented Interfaces:
PermittedPackages,Predicate<Package>
Enables the SLF4J logging framework to be shared among system, SDK, and Element. Additionally, this allow for
additional logging packages to be enabled for use with SLF4J. Placing a file "elements-slf4j.properties" on the
classpath will enable Elements to use SLF4J for logging. This file should contain the packages of the loggers to be
visible to all elements.
The properties fill is a standard Java properties file, and should contain the package names as keys, with
the value of "true" or "false" indicating if they should be permitted. If the value is blank, the package is
presumed to be permitted. Otherwise, the value is interpreted using
Boolean.parseBoolean(String).