[infinispan-dev] Logging in Infinispan
Mircea Markus
mircea.markus at jboss.com
Wed Jan 26 07:35:32 EST 2011
On 26 Jan 2011, at 12:09, Manik Surtani wrote:
>
> On 26 Jan 2011, at 11:50, Mircea Markus wrote:
>
>> I like the existing one more, as it makes it easier for me too which params goes where.
>
> It's non-standard though. I see people using String.format() to create exception messages - which is fine - but it means we have inconsistencies in the ways strings are created for logs and for exceptions.
I haven't seen this notation being used in any test method in our code base; I get your point though :)
>
> Plus the C style of using %1$s isn't particularly hard, is it? :) The fact that it starts with '1' as opposed to '0' is a bit odd though.
that plus + readability
More information about the infinispan-dev
mailing list