Class LoggedOutputStream

java.lang.Object
java.io.OutputStream
VASSAL.tools.logging.LoggedOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class LoggedOutputStream extends OutputStream
An OutputStream which feeds an Logger. All output is logged at the WARN level.
Since:
3.1.0
Author:
Joel Uckelman
  • Constructor Details

    • LoggedOutputStream

      public LoggedOutputStream()
      Creates a LoggedOutputStream with the default logger.
    • LoggedOutputStream

      public LoggedOutputStream(org.slf4j.Logger logger)
      Creates a LoggedOutputStream.
      Parameters:
      logger - the logger which receives the output
  • Method Details