No, it works in web mode too. What Rich means -- I'm on his team -- by
emulated is that he wrote an implementation of org.slf4j.Logger and
org.slf4j.LoggerFactory, much the same way that GWT itself emulates the
java.util.logging classes. In fact, all the emulated classes do for now is
delegate
So you don't get logging when GWT is actually compiled into javascript
(so you can't diagnose issues in the javascript that you actually
ship, you can only diagnose issues in emulated code (which isn't
javascript but actual java)).
On Feb 28, 7:23 am, Richard Allen richard.l.al...@gmail.com
I never knew of i_log until now. I suggest you write some documentation and
provide a website if you want to attract users.
Anyway, we aren't using JME, and SF4J/Logback with a simple GWT emulation is
working fine for us.
-Richard
--
You received this message because you are subscribed to
In short NO, this is why I wrote i_log.
The main problem with all log libraries is their static initialization
(log4j, slf4j exc)
and synchronous loading of the log config file. These were the two
huge issues that I had to over come
porting apache commons logging to gwt which I renamed as i_log.
Why didn't you use i_log, as I already finished it and open sourced it
several years ago?
http://cvs.adligo.org/viewvc/i_log/
common logging api anywhere you could use a .java source file.
JSE, JME and GWT
Cheers,
Scott
On Feb 25, 5:50 am, Thomas Broyer t.bro...@gmail.com wrote:
On Friday,
To respond to the question
May I ask why do you need something like that? Basically everything
what you need is inside of gwt-user package.
I did it before the GWT project had java.util.Logging and
some people do NOT like the java.util.Logging package,
I see a lot more people using log4j (as
Sent from my LG phone
Adligo sc...@adligo.com wrote:
To respond to the question
May I ask why do you need something like that? Basically everything
what you need is inside of gwt-user package.
I did it before the GWT project had java.util.Logging and
some people do NOT like the
On Friday, February 25, 2011 4:04:12 AM UTC+1, zixzigma wrote:
is it possible to use an SL4J adapter in GWT to wrap java.util.logging ?
I started working on something like that at work, and we will eventually
open source it.
For now, I can use Slf4J in my client code. In DevMode, it will
I'm also currently working on an emulation of org.slf4j.Logger and
org.slf4j.LoggerFactory. The emulated LoggerFactory class simply calls
java.util.logging.Logger.getLogger(String) to create a logger, and the
emulation of org.slf4j.Logger that is returned from LoggerFactory wraps the
May I ask why do you need something like that? Basically everything
what you need is inside of gwt-user package.
Let's look what is actually SLF4J. It's just an interface for many
logging frameworks [java.lang, apache.logger , etc]. So when you have
plenty of libraries using different logging
is it possible to use an SL4J adapter in GWT to wrap java.util.logging ?
I would like to be able to use logging.properties file to define formatting,
which I believe is not possible with java.util.logging.
Thank You
--
You received this message because you are subscribed to the Google Groups
+1
2011/2/24 zixzigma zixzi...@gmail.com
is it possible to use an SL4J adapter in GWT to wrap java.util.logging ?
I would like to be able to use logging.properties file to define
formatting,
which I believe is not possible with java.util.logging.
Thank You
--
You received this message
12 matches
Mail list logo