You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by William Lee <wl...@sendmail.com> on 2001/04/05 00:07:29 UTC

Getting the Log level

I would like to do is to have a Log.getLogLevel() function to get the
current log level.  This is so that I can do:

if (Log.getLogLevel() == DEBUG)
{
	// Do some complicated calculation and display here
}

Do you know how to get this info from the logging service?

Thanks,

Will

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org