Sure -- compile at the WARN level by including this in the module
descriptor:

<inherits name="com.allen_sauer.gwt.log.gwt-log-WARN" />

Then in the onModuleLoad() method of the entry point class, call the
following:

Log.warn("warn");
Log.error("error");

Only the "warn" message appears in my Firebug console (but both
messages appear elsewhere, such as the DivLogger).

On Mar 7, 4:45 am, Fred Sauer <[email protected]> wrote:
> Do you have a small test case which logs two messages, one which shows up
> and one which does not?
>
>
>
> On Mon, Mar 1, 2010 at 11:08 PM, Michael M <[email protected]> wrote:
> > I'd just like to add that the problem seems to have something to do
> > with the Firebug logger not being fully initialized in the
> > onModuleLoad() method. If I log an error or fatal message in
> > onModuleLoad(), it appears in other loggers but not the Firebug
> > logger. However, if I delay the error or fatal message so that it is
> > logged after onModuleLoad() returns, they show up as expected in the
> > Firebug console.
>
> > This certainly isn't a big deal -- I just wanted to share my
> > observations.
>
> > On Feb 24, 5:04 pm, Michael M <[email protected]> wrote:
> > > Thanks for the response. All the messages do indeed show up in the
> > > demo, so I guess the problem is on my end.
>
> > > On Feb 23, 4:13 pm, Fred Sauer <[email protected]> wrote:
>
> > > > Can you try the online demo:
>
> >http://allen-sauer.com/com.allen_sauer.gwt.log.demo.LogDemo/LogDemo.html
>
> > > > It works for me with Firebug 1.5 and Firefox 3.6
>
> > > > On Mon, Feb 22, 2010 at 11:44 AM, Michael M <[email protected]>
> > wrote:
> > > > > I am using Firefox 3.6, GWT 2.0, and gwt-log 3.0.0. With Firebug 1.5,
> > > > > 'error' and 'fatal' log messages don't show up in the Firebug
> > console,
> > > > > but I see a "2 Errors" message in the lower right corner of the
> > > > > Firebug window.
>
> > > > > In Firebug 1.4.5, the error and fatal messages show up, but Firebug
> > > > > reports 4 errors.
>
> > > > > Does anyone know what may be causing these problems?
>
> > > > > --
> > > > > 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]<gwt-log%[email protected]>
> > <gwt-log%[email protected]<gwt-log%[email protected]>
>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/gwt-log?hl=en.
>
> > > > --
> > > > 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]<gwt-log%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/gwt-log?hl=en.
>
> --
> 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