Interface LoggableComponentBuilder<T extends ComponentBuilder<T>>
-
- All Superinterfaces:
Builder<Component>
,ComponentBuilder<T>
,FilterableComponentBuilder<T>
- All Known Subinterfaces:
LoggerComponentBuilder
,RootLoggerComponentBuilder
public interface LoggableComponentBuilder<T extends ComponentBuilder<T>> extends FilterableComponentBuilder<T>
Common component builder for Logger and RootLogger elements.- Since:
- 2.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
add(AppenderRefComponentBuilder assembler)
Add an Appender reference to the Logger component.-
Methods inherited from interface org.apache.logging.log4j.core.config.builder.api.ComponentBuilder
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addComponent, getBuilder, getName
-
Methods inherited from interface org.apache.logging.log4j.core.config.builder.api.FilterableComponentBuilder
add
-
-
-
-
Method Detail
-
add
T add(AppenderRefComponentBuilder assembler)
Add an Appender reference to the Logger component.- Parameters:
assembler
- The AppenderRefComponentBuilder with all of its attributes and sub-components set.- Returns:
- this Assembler.
-
-