Class DebugWriter


  • public class DebugWriter
    extends java.lang.Object
    Writer debug information to a log file.
    • Constructor Summary

      Constructors 
      Constructor Description
      DebugWriter​(@NotNull java.io.Writer writer)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void debugProtocolWrite​(@NotNull java.lang.CharSequence str)
      Writes a message to the debug protocol.
      void debugProtocolWrite​(@NotNull java.lang.CharSequence str, @NotNull java.lang.Throwable throwable)
      Writes a message to the debug protocol including a throwable.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DebugWriter

        public DebugWriter​(@NotNull
                           @NotNull java.io.Writer writer)
        Creates a new instance.
        Parameters:
        writer - the writer to write to
    • Method Detail

      • debugProtocolWrite

        public void debugProtocolWrite​(@NotNull
                                       @NotNull java.lang.CharSequence str)
        Writes a message to the debug protocol.
        Parameters:
        str - the message to write
      • debugProtocolWrite

        public void debugProtocolWrite​(@NotNull
                                       @NotNull java.lang.CharSequence str,
                                       @NotNull
                                       @NotNull java.lang.Throwable throwable)
        Writes a message to the debug protocol including a throwable.
        Parameters:
        str - the message to write
        throwable - the throwable to log