Joe,
You can hide the DivLogger via CSS if you like. Use an '!important' CSS rule
to ensure that it is properly hidden. You can also programmatically attach
the DivLogger to a particular place in the DOM so it's not just floating
over your UI.
Widget divlogger = Log.getLogger(DivLogger.class).getWidget();
someOtherWidget.add(divLogger);
Fred
On Fri, Jun 19, 2009 at 8:16 AM, JoeB <[email protected]> wrote:
>
> I'd like the gwt-log functionality to always be compiled into my GWT
> application but be invisible during normal operation (e.g. the
> DivLogger isn't visible). My application would contain a page that
> allows the user to dynamically customize the gwt-log configuration,
> for example making the DivLogger visible and changing the log level.
> I know the log level can be customized at run-time via the
> Log.setCurrentLogLevel() method, but it isn't clear whether the
> various loggers (DivLogger, SystemLogger, RemoteLogger) can be
> customized as well. For example, is there a way to "turn on" the
> DivLogger, making it visible?
>
> Thanks for the help. (Great project, by the way!)
>
> -- Joe
> >
>
--
Fred Sauer
[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
-~----------~----~----~----~------~----~------~--~---