Yes, but not with the stock Log4j. Look at LogMF and LogSF in the extras
companion.
http://logging.apache.org/log4j/companions/extras/download.html
Jake
Néstor Boscán wrote:
Hi
Is there a way to send to the log an array of strings and then format them
using a pattern. Something like:
%d{dd-MM-yyyy hh:mm:ss,SSS}|%-5p|%-10m{0}|%-10m{1}|%-10m{2}|%-10m{3}%n
were
m{0}: Get object on index 0
m{1}: Get object on index 1
m{2}: Get object on index 2
Is this possible?
Regards,
Néstor Boscán
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]