logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <...@qos.ch>
Subject Re: System.getProperty("line.separator")
Date Sun, 04 Mar 2001 20:16:08 GMT

Yes we probably should. On the other hand, it should not matter because HTML does not care
about "spaces". So having \r, \n, \r\n or nothing should be equivalent from an HTML browsers
point of view. 

Again, if the goal of inserting \r\n into the stream is lisibility, then  System.getProperty("line.separator")
is a good suggestion. I am in favor of the change. Ceki

ps: By the way, Layout.LINE_SEP already contains the value of System.getProperty("line.separator").

At 00:24 28.02.2001 +0100, Mathias Bogaert wrote:
>Shouldn't we implement the use of System.getProperty("line.separator")
>instead of using "\r\n" for writing output (eg in XMLLayout)?
>Mathias Bogaert
>ETM International
>To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: log4j-dev-help@jakarta.apache.org

Ceki Gülcü          Web:   http://qos.ch      
av. de Rumine 5     email: cgu@qos.ch (preferred)
CH-1005 Lausanne           ceki_gulcu@yahoo.com
Switzerland         Tel: ++41 21 351 23 15

View raw message