public interface LogContextConfiguration
Modifier and Type | Interface and Description |
---|---|
static class |
LogContextConfiguration.Factory
The factory class for persistent configurations.
|
LogContext getLogContext()
LoggerConfiguration addLoggerConfiguration(String loggerName)
boolean removeLoggerConfiguration(String loggerName)
LoggerConfiguration getLoggerConfiguration(String loggerName)
HandlerConfiguration addHandlerConfiguration(String moduleName, String className, String handlerName, String... constructorProperties)
moduleName
- the module name, or null
to use the logmanager's class pathclassName
- the class name of the handler (must not be null
)handlerName
- the name of the handler (must be unique within this configuration and not null
)constructorProperties
- an optional list of constructor property namesboolean removeHandlerConfiguration(String handlerName)
handlerName
- the handler name to removetrue
if the handler was removed, false
if the handler didn't existHandlerConfiguration getHandlerConfiguration(String handlerName)
FormatterConfiguration addFormatterConfiguration(String moduleName, String className, String formatterName, String... constructorProperties)
boolean removeFormatterConfiguration(String formatterName)
FormatterConfiguration getFormatterConfiguration(String formatterName)
FilterConfiguration addFilterConfiguration(String moduleName, String className, String filterName, String... constructorProperties)
boolean removeFilterConfiguration(String filterName)
FilterConfiguration getFilterConfiguration(String filterName)
ErrorManagerConfiguration addErrorManagerConfiguration(String moduleName, String className, String errorManagerName, String... constructorProperties)
boolean removeErrorManagerConfiguration(String errorManagerName)
ErrorManagerConfiguration getErrorManagerConfiguration(String errorManagerName)
void commit()
void forget()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.