Class LogOutputStream

java.lang.Object
java.io.OutputStream
com.sun.mail.util.LogOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class LogOutputStream extends OutputStream
Capture output lines and send them to the mail logger.
  • Field Details

  • Constructor Details

    • LogOutputStream

      public LogOutputStream(MailLogger logger)
      Log to the specified logger.
      Parameters:
      logger - the MailLogger
  • Method Details