On Thu, 8 Jul 2010, Tomáš Nechutný wrote:

I can live without it (and use sprintf() return value as a parameter
to log methods), but it would be nice.

Yeah, sprintf() should take care of all your formatting needs. I've
found that I use printf() very rarely in Perl, because you can
interpolate variables so elegantly in strings. Also, there's a lot of
hidden functionality in the loggers as is (think about loggers that take
fixed arguments like database loggers, or that you can pass a subroutine
to any logger which it will then evaluate), so having printf-like
functions would considerably complicate things. But thanks for the
suggestion!

-- Mike

Mike Schilli
m...@perlmeister.com
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to