This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes GWT and the fly likes GWT and Log4J Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "GWT and Log4J" Watch "GWT and Log4J" New topic
Author

GWT and Log4J

ramesh sri
Greenhorn

Joined: May 23, 2012
Posts: 8
can i use log4j for gwt logging
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10171
    
    8

Recommended reading https://developers.google.com/web-toolkit/doc/latest/DevGuideLogging


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Uhr Zeit
Greenhorn

Joined: Aug 14, 2012
Posts: 1
ramesh sri wrote:can i use log4j for gwt logging
.

log4j-gwt is a port of log4j to GWT. Just add it after the normal log4j.jar in your classpath and you are done.

The nice thing is that code will work in and out of an GWT environment without any modifications.

Oh, and you can log any object with log4j. I think the built-in GWT log API is really annoying because there you need to null check and convert to string first.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GWT and Log4J
 
Similar Threads
Any idea on Export an Excel Sheet in GWT
bumper stickers, blackbeltfactory and other user personalizations (jforum day 2011)
what adventage have GWT compare to jQuery?
searching email address
New forum for Google app engine for Java