[slf4j-user] Avoiding new line after log messages
Jacob Kjome
hoju at visi.com
Fri Jan 4 19:16:30 CET 2008
On Fri, 04 Jan 2008 18:54:06 +0100
simon <skitching at apache.org> wrote:
>
> On Fri, 2008-01-04 at 11:32 +0100, Guy Pardon wrote:
>> Is there a way to log multiple strings in different calls to the SLF4J
>> API, without a newline in between?
>
> No.
>
What do you mean "No"? That's up to the logging implementation configuration,
isn't it? SLF4J, unless it is just the simple one that does System.out, has
nothing specifically to say about newlines.
That said, the layout assigned to an appender would need to not define the
newline. That would mean that the developer would need to include a newline
as needed when performing logging statements.
Jake
More information about the slf4j-user
mailing list