Added toString method.

This commit is contained in:
Erik C. Thauvin 2019-07-28 15:27:06 -07:00
parent 2dc206dadb
commit be9a146440

View file

@ -181,4 +181,10 @@ public class Message {
public void setPrivate(final boolean isPrivate) {
this.isPrivate = isPrivate;
}
@Override
public String toString() {
return "Message{" + "color='" + color + '\'' + ", isError=" + isError + ", isNotice=" + isNotice
+ ", isPrivate=" + isPrivate + ", msg='" + msg + '\'' + '}';
}
}