Sure,
Just disable all the other loggers in your .gwt.xml file, leaving on the
remote logger enabled.
Fred Sauer
[EMAIL PROTECTED]
On Thu, Nov 6, 2008 at 1:12 PM, JT <[EMAIL PROTECTED]> wrote:
>
> Fred,
>
> Is it possible to call the RemoteLogger just by itself without the
> other enabled loggers?
>
> I would like to log uncaught exceptions in the client on the server
> only.
> I have tried calling the RemoteLogger as follows (without success):
>
> GWT.setUncaughtExceptionHandler(new
> GWT.UncaughtExceptionHandler() {
> public void onUncaughtException(Throwable e) {
> Logger remoteLogger =
> Log.getLogger(RemoteLogger.class);
> remoteLogger.fatal("Uncaught exception", e);
> }
> });
>
> Thanks in advance.
>
> Justin.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"gwt-log" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/gwt-log?hl=en
-~----------~----~----~----~------~----~------~--~---