title: Why is it necessary to use the isTraceEnabled() function in JBoss?
body: <p>I'm using the org.jboss.logging.Logger class, and seem to have come across an incongruity.  When I have an error or warning, I simply have to use <code>logger.error("error message")</code> or <code>logger.warn("warning message")</code> and it will be displayed based on the settings in the jboss-log4j.xml file.</p>
  
  <p>However, based on existing jboss code, <a href="https://community.jboss.org/thread/94522" rel="noreferrer">this discussion</a>, and <a href="https://issues.jboss.org/browse/JGRP-120" rel="noreferrer">this link</a>, when trace is used you must first determine whether it is enabled using <code>logger.isTraceEnabled()</code>.  Why does it appear that I have to this for trace alone?</p>