Hello Jean-Luc,
Thank you for your message. Comments inline.
Jean-Luc Geering wrote:
> Hi there,
>
> On [1] I read that
>
> " In case your message contains the '{' or the '}' character, you do not
> have to do anything special unless the '}' character immediately follows
> '}' "
>
> shouldn't it be " ... unless the '}' character immediately follows '{' " ?
Yes, absolutely. Fixed in revision 1153.
> and related to that, if I want to produce "hello{world}", shouldn't I be
> able to write log.debug("hello{{}}, "world"); ?
Yes. You can write
log.debug("hello{{}}, "world");
which will produce the message "hello {world}" assumming the logger is enabled
for the debug level.
Are you observing a different behavior?
--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
_______________________________________________
user mailing list
[email protected]
http://www.slf4j.org/mailman/listinfo/user