Package net.md_5.bungee.log

# Class LoggingOutputStream

java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
net.md_5.bungee.log.LoggingOutputStream

All Implemented Interfaces:
  `Closeable`, `Flushable`, `AutoCloseable`

public class LoggingOutputStream extends ByteArrayOutputStream

- ## Field Summary

  ### Fields inherited from class java.io.ByteArrayOutputStream

  `buf, count`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LoggingOutputStream(Logger logger, Level level)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `flush()`

  ### Methods inherited from class java.io.ByteArrayOutputStream

  `close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo`

  ### Methods inherited from class java.io.OutputStream

  `write`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### LoggingOutputStream

    public LoggingOutputStream(Logger logger, Level level)

- ## Method Details

  - ### flush

    public void flush() throws IOException
    Specified by:
      `flush` in interface `Flushable`
    Overrides:
      `flush` in class `OutputStream`
    Throws:
      `IOException`