ppkarwasz commented on code in PR #4076:
URL: https://github.com/apache/logging-log4j2/pull/4076#discussion_r3080675354


##########
log4j-core/src/main/java/org/apache/logging/log4j/core/layout/Rfc5424Layout.java:
##########
@@ -780,16 +938,40 @@ public Rfc5424LayoutBuilder setIncludeMDC(final boolean 
includeMDC) {
             return this;
         }
 
+        /**
+         * @deprecated Since 2.26.0 use {@link #setNewLine} instead.
+         */
+        @Deprecated
         public Rfc5424LayoutBuilder setIncludeNL(final boolean includeNL) {
             this.includeNL = includeNL;
             return this;
         }
 
+        /**
+         * @since 2.26.0
+         */
+        public Rfc5424LayoutBuilder setNewLine(boolean newLine) {
+            this.newLine = newLine;
+            return this;
+        }
+
+        /**
+         * @deprecated Since 2.26.0 use {@link #setIncludeNL} instead.
+         */
+        @Deprecated
         public Rfc5424LayoutBuilder setEscapeNL(final String escapeNL) {
             this.escapeNL = escapeNL;

Review Comment:
   Fixed in 
https://github.com/apache/logging-log4j2/pull/4076/commits/f6ee827e48896662bc8868c57f5bf115faa4e12f



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to