Greetings,

I have a method in a object that prints itself to a java.io.OutputStream
object:

object.print(java.io.OutputStream out);

To use the log4j here, I should pass through the argument something like
myLogger.getOutputStream() that returns the outputstream of the logger:

object.print(myLogger.getOutputStream());

Can I do something like this in log4j?

thanks,
Pedro Salazar.
-- 
PS
[EMAIL PROTECTED]
PGP:0E129E31D803BC61


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

Reply via email to