public RemoteLogger() {
if (!GWT.isClient()) {
throw new UnsupportedOperationException();
}
service = (RemoteLoggerServiceAsync) GWT.create(RemoteLoggerService.class);
final ServiceDefTarget target = (ServiceDefTarget) service;
String serviceEntryPointUrl = config.serviceEntryPointUrl();
if (serviceEntryPointUrl != null) {
target.setServiceEntryPoint(serviceEntryPointUrl);
}
callback = new AsyncCallback<Void>() {
public void onFailure(Throwable ex) {