System.err.println(message);
}
+ public static void debugPrintStackTrace(Throwable t)
+ {
+ if (!isDebugEnabled())
+ {
+ return;
+ }
+ // send message to stderr if output to stdout is expected
+ printStackTrace(t);
+ }
+
public static void printStackTrace(Throwable t)
{
// send message to stderr if output to stdout is expected