Curt Arnold wrote:

On May 8, 2006, at 1:33 AM, David Hosier wrote:

...


Anyway...thanks again for the reply, looking forward to hearing other
people's thoughts.


I'd suggest creating a static helper class that generates a message object and then calls logger methods. The message object's toString () should return a string that would be appropriate when the logging request is handled by stock appenders like ConsoleAppender and FileAppender, however your custom appender can get the message object and get at the parts.

This approach certainly works; we've been using it for 2 years...

  BugBear

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to