Example usage for com.google.gwt.logging.client SystemLogHandler SystemLogHandler

List of usage examples for com.google.gwt.logging.client SystemLogHandler SystemLogHandler

Introduction

In this page you can find the example usage for com.google.gwt.logging.client SystemLogHandler SystemLogHandler.

Prototype

public SystemLogHandler() 

Source Link

Usage

From source file:com.qualogy.qafe.gwt.client.context.ClientApplicationContext.java

License:Apache License

private ClientApplicationContext() {
    // create a DragController to manage drag-n-drop actions
    // note: This creates an implicit DropController for the boundary panel
    dragController = new PickupDragController(RootPanel.get(), true);
    logger.addHandler(new ConsoleLogHandler());
    logger.addHandler(new SystemLogHandler());

    // Request parameters
    Map<String, List<String>> parameters = Window.Location.getParameterMap();
    map = new HashMap<String, String>();
    for (String key : parameters.keySet()) {
        map.put(key, Window.Location.getParameter(key));
    }/*from ww w. jav  a2s . c o  m*/
}

From source file:com.qualogy.qafe.mgwt.client.context.ClientApplicationContext.java

License:Apache License

private ClientApplicationContext() {
    // create a DragController to manage drag-n-drop actions
    // note: This creates an implicit DropController for the boundary panel
    logger.addHandler(new ConsoleLogHandler());
    logger.addHandler(new SystemLogHandler());

    // Request parameters
    Map<String, List<String>> parameters = Window.Location.getParameterMap();
    map = new HashMap<String, String>();
    for (String key : parameters.keySet()) {
        map.put(key, Window.Location.getParameter(key));
    }//  ww  w. j  ava 2s. c o m
}