Example #1
0
 /**
  * Trace the specified information.
  *
  * @param optionName the option name
  * @param e an exception whose stack trace is to be included in the output
  * @param message a human-readable message.
  */
 public void trace(String optionName, Throwable e, String message) {
   TraceUtils.traceError(this, qualifyOptionName(optionName), e, message);
 }
Example #2
0
 /**
  * Return <code>true</code> if tracing is enabled when using the given option name.
  *
  * @return <code>true</code> if tracing is enabled
  */
 public boolean isTracing(String optionName) {
   if (optionName == null) {
     return true;
   }
   return TraceUtils.isTracing(qualifyOptionName(optionName));
 }
Example #3
0
 /**
  * Trace the specified information.
  *
  * @param optionName the option name
  * @param message a human-readable message.
  */
 public void trace(String optionName, String message) {
   TraceUtils.traceInfo(this, qualifyOptionName(optionName), message);
 }