The five logging levels used by Log
are (in order):
Performance is often a logging concern. By examining the appropriate property, a component can avoid expensive operations (producing information to be logged).
For example, if (log.isDebugEnabled()) { ... do something expensive ... log.debug(theResult); }
Configuration of the underlying logging system will generally be done external to the Logging APIs, through whatever mechanism is supported by that system.
@author Thomas Rischbeck
|
|
|
|