Class CustomLevels
java.lang.Object
org.apache.logging.log4j.core.config.CustomLevels
@Plugin(name="CustomLevels",
category="Core",
printObject=true)
public final class CustomLevels
extends Object
Container for CustomLevelConfig objects.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CustomLevels
createCustomLevels
(CustomLevelConfig[] customLevels) Create a CustomLevels object to contain all the CustomLevelConfigs.Returns a list of theCustomLevelConfig
objects created during configuration.
-
Field Details
-
customLevels
-
-
Constructor Details
-
CustomLevels
-
-
Method Details
-
createCustomLevels
@PluginFactory public static CustomLevels createCustomLevels(@PluginElement("CustomLevels") CustomLevelConfig[] customLevels) Create a CustomLevels object to contain all the CustomLevelConfigs.- Parameters:
customLevels
- An array of CustomLevelConfigs.- Returns:
- A CustomLevels object.
-
getCustomLevels
Returns a list of theCustomLevelConfig
objects created during configuration.- Returns:
- the configured custom levels
-