I hope this excerpt from the docs (
http://code.google.com/p/gwt-log/wiki/GettingStarted) helps:
- Control the default from your application's HTML file
1. Compile for example both DEBUG and ERROR log levels
<!-- Add gwt-log support, default level `ERROR` -->
<inherits name="com.allen_sauer.gwt.log.gwt-log-ERROR" />
<!-- Also compile at `DEBUG` level -->
<extend-property name="log_level" values="DEBUG"/>
2. Specify either DEBUG or ERROR as the default using gwt:property in
your HTML file
<html>
<head>
<meta name="gwt:property" content="log_level=DEBUG">
<script language='javascript'
src='com.example.gwt.YourModule.nocache.js'>
</script>
</head>
<body>
..
</body>
</html>
On Fri, Apr 3, 2009 at 3:46 PM, planetsoni <[email protected]> wrote:
>
> Any feedback to this question will be appreciated.
>
> On Mar 27, 11:34 am, planetsoni <[email protected]> wrote:
> > I am doing following in my module xml.
> >
> > <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG"/>
> > <extend-property name="log_level" values="INFO,WARN" />
> >
> > According to the documentation, my default compile level should be
> > DEBUG. And I should be able to use compile level WARN and INFO using
> > log_level URL parameter.
> >
> > Instead of that expected behavior, my default compile level is WARN.
> >
> > After trying many things, I believe that it just picks up the smallest
> > logging level as a default level.
> > I am using gwt-log-2.5.3.
> >
> > Let me if this is a bug or feature.
> >
> > Thanks.
> >
>
--
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
-~----------~----~----~----~------~----~------~--~---