Class LogWriter

java.lang.Object
java.io.Writer
java.io.PrintWriter
org.moditect.internal.command.LogWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class LogWriter extends PrintWriter
Wraps Moditect Log with a PrintWriter in order to pass jdeps command output to it.
  • Field Details

  • Constructor Details

    • LogWriter

      public LogWriter(Log log)
      Creates a new PrintWriter that will write everything to the specified log in addition to System.out.
      Parameters:
      log - the log to write to
  • Method Details