Note that the gwt-log source contains both client and server versions of the same Java classes, which can be confusing.
On Thu, Nov 5, 2009 at 7:02 PM, Vishal <[email protected]> wrote: > > Hi, > We wanted to do the same thing, implement a CustomRemoteLogger.. > Of course we extended AbstractLogger, yet we have > > "This class must implement the inherited abstract method > AbstractLogger.log(int, String), but cannot override it since it is > not visible from OurLogger. Either make the type abstract or make the > inherited method visible " > > nskmda, Did u extend AbstractLogger and if u did get this to compile? > > On Sep 29, 10:37 am, nskmda <[email protected]> wrote: > > Thanks, Fred. > > I tried it. It works perfectly. > > > > Dmitry > > > > On Sep 28, 5:03 pm, Fred Sauer <[email protected]> wrote: > > > > > That's the right approach. You can include the logger in your > onModuleLoad() > > > to make it easy. > > > Fred > > > > > On Mon, Sep 28, 2009 at 4:03 PM, nskmda <[email protected]> wrote: > > > > > > Do I get it right that I need to implement the Logger interface (or > > > > extend the AbstractLogger)? > > > > Is there any easier way to register my logger declaratively in GWT > > > > config instead of registering it at runtime via Log.addLogger? > > > > Will I have to always use Log.getLogger(MyLoggerClass.class).debug at > > > > runtime? > > > > > > On Sep 28, 3:16 pm, Fred Sauer <[email protected]> wrote: > > > > > Sure. Should be easy to do. > > > > > > > On Mon, Sep 28, 2009 at 2:57 PM, nskmda <[email protected]> wrote: > > > > > > > > Hello, all > > > > > > > > Is it possible to add/register my own implementation of a logger? > > > > > > I would like to send log messages to my own servlet as well. > > > > > > > > Thanks, > > > > > > Dmitry > > > > > > > -- > > > > > Fred Sauer > > > > > Developer Advocate > > > > > Google Inc. 1600 Amphitheatre Parkway > > > > > Mountain View, CA 94043 > > > > > [email protected] > > > > > -- > > > Fred Sauer > > > Developer Advocate > > > Google Inc. 1600 Amphitheatre Parkway > > > Mountain View, CA 94043 > > > [email protected] > > > > -- Fred Sauer Developer Advocate Google Inc.1600 Amphitheatre Parkway Mountain View, CA 94043 [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
