[logback-dev] svn commit: r868 - logback/trunk/logback-core/src/main/java/ch/qos/logback/core/layout

noreply.ceki at qos.ch noreply.ceki at qos.ch
Fri Nov 3 23:05:09 CET 2006


Author: ceki
Date: Fri Nov  3 23:05:08 2006
New Revision: 868

Modified:
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/layout/EchoLayout.java

Log:
minor change

Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/layout/EchoLayout.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/layout/EchoLayout.java	(original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/layout/EchoLayout.java	Fri Nov  3 23:05:08 2006
@@ -9,17 +9,18 @@
  */
 package ch.qos.logback.core.layout;
 
+import ch.qos.logback.core.Layout;
 import ch.qos.logback.core.LayoutBase;
 
 /**
- * Echos the incoming object adding a "\n" character at the end.
+ * Echos the incoming object adding a line separator character(s) at the end.
  * 
  * @author Ceki
  */
 public class EchoLayout extends LayoutBase {
 
   public String doLayout(Object event) {
-    return event+"\n";
+    return event+Layout.LINE_SEP;
   }
 
 }



More information about the logback-dev mailing list