Would you mind filing a feature request?
http://code.google.com/p/gwt-log/issues/list

This is not something that's supported yet, but I have some ideas.

I assume you're thinking about the capability such as is provided by log4j
via %C, %F, %L or %M in the pattern layout:

http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html

Thanks
Fred


On Mon, Aug 17, 2009 at 9:55 AM, omsrobert <[email protected]> wrote:

>
> Is there a way to get gwt-log to display the class name?
>
> I have a lot of code like this that helps me trace where in my app,
> that code is currently executing:
>
> Log.trace(getClass().getName() + " - save()");
>
> Furthermore, it would be nice if I could configure gwt-log once to
> have something like Log.traceMethod() that would print the timestamp,
> name of the class and the name of the method (not sure if this can be
> done w/o reflection) that is currently being executed.
>
> >
>


-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to