You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Robert Pepersack <rp...@mdinsurance.state.md.us> on 2004/04/20 16:15:29 UTC
Info and Debug Class Variables
Hi all.
How should I declare class info and debug boolean variables? For example:
private final boolean info = logger.isInfoEnabled(); // Use this in classes
that have no superclasses or subclasses
Should I declare them as static? What about inheritance situations.
Thanks,
Bob
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org