utils/src/main/java/org/robolectric/util/Logger.java
public static void error(String message, Throwable e) {
    System.err.print("ERROR: ");
    System.err.println(message);
    e.printStackTrace();
  }
public static void error(String message, Throwable e) {
    System.err.print("ERROR: ");
    System.err.println(message);
    e.printStackTrace();
  }
public static void error ( String message , Throwable e ) { System . err . print ( "ERROR: " ) ; System . err . println ( message ) ; e . printStackTrace ( ) ; }
Log an error message.

@param message Message text.
@param e       The exception.
Log an error message .