Module org.jboss.logmanager
Class PropertyContextConfiguration
java.lang.Object
org.jboss.logmanager.configuration.ContextConfiguration
org.jboss.logmanager.configuration.PropertyContextConfiguration
- All Implemented Interfaces:
AutoCloseable
A utility to parse a
logging.properties file and configure a LogContext.- Author:
- James R. Perkins
-
Field Summary
Fields inherited from class org.jboss.logmanager.configuration.ContextConfiguration
CONTEXT_CONFIGURATION_KEY -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyContextConfigurationconfigure(LogContext logContext, Properties properties) Configures theLogContextbased on the properties.Methods inherited from class org.jboss.logmanager.configuration.ContextConfiguration
addErrorManager, addFilter, addFormatter, addHandler, addObject, close, getContext, getErrorManager, getErrorManagers, getFilter, getFilters, getFormatter, getFormatters, getHandler, getHandlers, getLogger, getLoggers, getObject, getObjects, hasErrorManager, hasFilter, hasFormatter, hasHandler, hasLogger, hasObject, removeErrorManager, removeFilter, removeFormatter, removeHandler, removeObject
-
Method Details
-
configure
Configures theLogContextbased on the properties.- Parameters:
logContext- the log context to configureproperties- the properties used to configure the log context- Returns:
- the context configuration for the properties
-