//create a draggable console
final Console console1 = Y.newConsole(ConsoleConfig.create());
console1.plug(Y.Plugin().Drag());
//be a nasty console catching each log entry and asking for confirmation.
console1.before(Console.EVENT_ENTRY, new EventCallback() {
@Override
public void call(EventFacade e) {
if(!Window.confirm("Do you really want to add the msg: "+((ConsoleEvent)e).message().message()+" ? ")) {
Window.alert("preventing");
e.preventDefault();