Repository: logging-log4j2 Updated Branches: refs/heads/master 4ceff8eec -> 547985c0f
[LOG4J2-2476] org.apache.log4j.SimpleLayout missing in log4j-1.2-api. Programmatic compatibility. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/547985c0 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/547985c0 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/547985c0 Branch: refs/heads/master Commit: 547985c0fbca5dafec338c6ef05e227416e4c963 Parents: 4ceff8e Author: Gary Gregory <[email protected]> Authored: Thu Oct 18 20:26:14 2018 -0600 Committer: Gary Gregory <[email protected]> Committed: Thu Oct 18 20:26:14 2018 -0600 ---------------------------------------------------------------------- log4j-1.2-api/src/main/java/org/apache/log4j/Layout.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/547985c0/log4j-1.2-api/src/main/java/org/apache/log4j/Layout.java ---------------------------------------------------------------------- diff --git a/log4j-1.2-api/src/main/java/org/apache/log4j/Layout.java b/log4j-1.2-api/src/main/java/org/apache/log4j/Layout.java index 2ef4b1c..d0b9943 100644 --- a/log4j-1.2-api/src/main/java/org/apache/log4j/Layout.java +++ b/log4j-1.2-api/src/main/java/org/apache/log4j/Layout.java @@ -24,6 +24,8 @@ import org.apache.logging.log4j.util.Strings; */ public abstract class Layout { + public final static String LINE_SEP = Strings.LINE_SEPARATOR; + /** Note that the line.separator property can be looked up even by applets. */ public static final int LINE_SEP_LEN = Strings.LINE_SEPARATOR.length();
