[slf4j-user] Helper to parse message pattern
Chris Pratt
thechrispratt at gmail.com
Wed Jul 11 17:51:47 CEST 2012
You could check out the Anodyzed Onyx project, it does a lot of what you're
asking. http://code.google.com/p/anodyzed
(*Chris*)
On Wed, Jul 11, 2012 at 5:37 AM, Thomas Mortagne
<thomas.mortagne at gmail.com>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,
> --
> Thomas
> _______________________________________________
> slf4j-user mailing list
> slf4j-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/slf4j-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-user/attachments/20120711/2269d50d/attachment.html>
More information about the slf4j-user
mailing list