This project is no longer actively developed or maintained.
Library, provides easy to use logging capabilities, which works transparently on both the client and the server, while providing compile time elimination of client logging code via deferred binding for Google Web Toolkit (GWT).
log_level=OFF
TRACE
, DEBUG
, INFO
, WARN
, ERROR
, FATAL
, OFF
)*.gwt.xml
module file, a gwt:property
in your HTML, a log_level
URL parameter, at run time via Log.setCurrentLogLevel(...)
Wide variety of context sensitive log destinations:
Logger | Description |
---|---|
ConsoleLogger |
Utilizes console.log() for supporting browsers and installed JavaScript libraries. |
FirebugLogger |
Utilizes Firebug console API logging. |
DivLogger |
Utilizes a floating/draggable DIV for log messages. |
GWTLogger |
Utilizes GWT.log() , which will appear in the development shell in Development Mode. |
SystemLogger |
Utilizes System.err and System.out . |
RemoteLogger |
Sends copies of client log messages to the server, with optional deobfuscation. |
WindowLogger |
(Experimental) Logs messages to a separate window. |
+ Unless your logging parameters are determined by the GWT compiler to have side effects
If you have questions, please post them on http://groups.google.com/group/gwt-log and I (or someone else) will try to answer them as best as possible. Using the forum means that others can benefit from any answers and feedback you get. It is always the fastest way to get an answer to a new question.
I'd like to know if you're using gwt-log on your project, and how useful (or not) this library is to you. You can send me an email at fredsa@gmail.com.
Try the logging demo:
Read the wiki here: https://github.com/fredsa/gwt-log/wiki/GettingStarted
Please let me know what you think. Suggestions are always welcome.
Project | Description |
---|---|
gwt-dnd | Provides drag and drop support for your GWT applications. |
gwt-voices | Provides sound support for your GWT applications. |