Class LogOutputStream

java.lang.Object
java.io.OutputStream
org.glassfish.resources.mail.LogOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Direct Known Subclasses:
MailLogOutputStream

public class LogOutputStream extends OutputStream
Capture output lines and send them to the system error log.
  • Field Details

    • logger

      protected Logger logger
    • level

      protected Level level
  • Constructor Details

    • LogOutputStream

      public LogOutputStream(String facility)
      Log to the specified facility at the default FINE level.
    • LogOutputStream

      public LogOutputStream(String facility, Level level)
      Log to the specified facility at the specified level.
  • Method Details