@Plugin(name="com.atlassian.confluence.util.PatternLayoutWithContext", category="Log4j Builder") public final class Log4j2LegacyPatternLayoutWithContextBuilder extends Log4j2LegacyPatternLayoutWithStackTraceBuilder
Plugin
that constructs a Log4j1.x Layout
that emulates PatternLayoutWithContext
as used under log4j1.x. This is for use by log4j2.x under its log4j1.x emulation mode.Constructor and Description |
---|
Log4j2LegacyPatternLayoutWithContextBuilder(String prefix,
Properties props) |
Modifier and Type | Method and Description |
---|---|
protected String |
modifyPattern(String pattern) |
org.apache.log4j.Layout |
parseLayout(Element element,
org.apache.log4j.xml.XmlConfiguration config) |
org.apache.log4j.Layout |
parseLayout(org.apache.log4j.config.PropertiesConfiguration config) |
public Log4j2LegacyPatternLayoutWithContextBuilder(String prefix, Properties props)
protected String modifyPattern(String pattern)
modifyPattern
in class Log4j2LegacyPatternLayoutWithStackTraceBuilder
public org.apache.log4j.Layout parseLayout(org.apache.log4j.config.PropertiesConfiguration config)
parseLayout
in interface org.apache.log4j.builders.layout.LayoutBuilder
public org.apache.log4j.Layout parseLayout(Element element, org.apache.log4j.xml.XmlConfiguration config)
parseLayout
in interface org.apache.log4j.builders.layout.LayoutBuilder
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences