public class DebugWriter
extends java.lang.Object
Constructor and Description |
---|
DebugWriter(@NotNull java.io.Writer writer)
Creates a new instance.
|
Modifier and Type | Method and 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.
|
public DebugWriter(@NotNull @NotNull java.io.Writer writer)
writer
- the writer to write topublic void debugProtocolWrite(@NotNull @NotNull java.lang.CharSequence str)
str
- the message to writepublic void debugProtocolWrite(@NotNull @NotNull java.lang.CharSequence str, @NotNull @NotNull java.lang.Throwable throwable)
str
- the message to writethrowable
- the throwable to log