[slf4j-user] Helper to parse message pattern

ceki ceki at qos.ch
Wed Jul 11 14:43:03 CEST 2012


Hi Thomas,

This has been asked in the past. Could you please create a jira issue in 
http://jira.qos.ch asking the message formatting to be pluggable?

Thanks,
-- 
Ceki
http://twitter.com/#!/ceki



On 11.07.2012 14:37, Thomas Mortagne wrote:
> Hi guys,
>
> Hi have a Logback appender of my own in which I display the log but
> not as a simple String. I especially have a different way of
> displaying the arguments based on their type.
>
> org.slf4j.helpers.MessageFormatter is very useful for simple String
> but I was wondering is there was any standard message pattern parser
> which would allow be to get some kind of String[] version of the
> message to do my own printing of arguments. A public method exposed in
> MessageFormatter and reused in arrayFormat would be nice.
>
> It's not like it was something very hard to parse but would be cleaner
> to use some standard parser than duplicating some code to do my own.
>
> Thanks,
>




More information about the slf4j-user mailing list