public class Protocol
extends java.lang.Object
| Constructor and Description |
|---|
Protocol() |
| Modifier and Type | Method and Description |
|---|---|
void |
attachOutputStream(java.io.OutputStream os) |
void |
clear() |
void |
debugOff() |
void |
debugOn() |
void |
decorateWithTimestamp(boolean enable) |
void |
enable(boolean enable) |
boolean |
isEmpty() |
boolean |
isEnabled() |
void |
log(com.github.jlangch.venice.util.Protocol.Level level,
java.lang.String text) |
void |
log(com.github.jlangch.venice.util.Protocol.Level level,
java.lang.String text,
java.lang.Exception ex) |
java.lang.String |
toString() |
public void attachOutputStream(java.io.OutputStream os)
public void decorateWithTimestamp(boolean enable)
public void enable(boolean enable)
public void debugOn()
public void debugOff()
public void clear()
public void log(com.github.jlangch.venice.util.Protocol.Level level,
java.lang.String text)
public void log(com.github.jlangch.venice.util.Protocol.Level level,
java.lang.String text,
java.lang.Exception ex)
public boolean isEnabled()
public boolean isEmpty()
public java.lang.String toString()
toString in class java.lang.Object