control.setWidget(0, 1, loggingMessage);
Iterator levels = Log.levelIterator();
int pos = 0;
while (levels.hasNext()) {
final Level level = (Level) levels.next();
VerticalPanel p = new VerticalPanel();
p.add(new Label((level.getName().toLowerCase())));
control.setWidget(pos, 2, p);
p.setStyleName("level-control");
if (!level.isControl()) {
Button b1 = new Button("log ", new ClickListener() {
public void onClick(Widget sender) {
Log.log(box.getText(), level, "user", null);
box.setText("message " + messageNumber++);
}