code: public static void printError(Object errorMessage)
  	{
  
  		if (errorMessage instanceof Throwable)
  		{
  
  			Throwable e = (Throwable) errorMessage;
  
  			getLog(Debugger.class).error(stackTrace(e));
  
  		}
  		else
  			getLog(Debugger.class).error(errorMessage);
  
  	}
docs: Print error message using the configured log.
  The stack trace will be printed if
  the given message is an exception.
  @param errorMessage the error/object message