public DebugMessagePanel() {
initWidget(BINDER.createAndBindUi(this));
}
public void enable() {
ClientEvents.get().addDebugMessageHandler(new DebugMessageEventHandler() {
@Override
public void onDebugMessage(DebugMessageEvent event) {
StringBuilder message = new StringBuilder();
message.append(new Date());
message.append("[").append(event.getSeverity().toString()).append("] ");