Class MailLogOutputStream

All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class MailLogOutputStream extends LogOutputStream
Capture Jakarta Mail debug output.
  • Constructor Details

    • MailLogOutputStream

      public MailLogOutputStream()
  • Method Details

    • log

      protected void log(String msg)
      All output except detained protocol traces starts with "DEBUG". Log protocol traces at lower level.

      NOTE: protocol trace output can include lines that start with "DEBUG" so this isn't perfect.

      Overrides:
      log in class LogOutputStream