@Plugin(name="org.apache.log4j.PatternLayout", category="Log4j Builder") @PluginAliases(value="org.apache.log4j.EnhancedPatternLayout") public class PatternLayoutBuilder extends AbstractBuilder<Layout> implements LayoutBuilder
APPEND_PARAM, BUFFER_SIZE_PARAM, BUFFERED_IO_PARAM, FILE_PARAM, IMMEDIATE_FLUSH_PARAM, MAX_BACKUP_INDEX, MAX_SIZE_PARAM, NULL, RELATIVE
Constructor and Description |
---|
PatternLayoutBuilder() |
PatternLayoutBuilder(String prefix,
Properties props) |
Modifier and Type | Method and Description |
---|---|
Layout |
parse(Element layoutElement,
XmlConfiguration config)
Parses a DOM Element.
|
Layout |
parse(PropertiesConfiguration config)
Parses a PropertiesConfigurationt.
|
buildFilters, getBooleanProperty, getBooleanProperty, getBooleanValueAttribute, getIntegerProperty, getNameAttribute, getNameAttributeKey, getProperties, getProperty, getProperty, getValueAttribute, getValueAttribute, set, set, set, substVars
public PatternLayoutBuilder()
public PatternLayoutBuilder(String prefix, Properties props)
public Layout parse(Element layoutElement, XmlConfiguration config)
Parser
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.