What logging can be used to log in GWT shared code?
Question
There are three types of code in a GWT project:
- Client code (GWT client / javascript)
- Server code (servlet container / java)
- Shared code (GWT client & servlet container / javascript & java)
Logging framework usable for each type:
I'd like to have a write once for the shared code that could include logging.
Any solutions out there for this?
Solution
GWT 2.1 includes java.util.logging emulation, you can find a sample project using it. You should be able to use this in shared code that's running on the client side and server side.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow