code: public boolean waitForLogMessage(String logMessage){
  		if(config.commandLogging){
  			Log.d(config.commandLoggingTag, "waitForLogMessage(\""+logMessage+"\")");
  		}
  		
  		return waiter.waitForLogMessage(logMessage, Timeout.getLargeTimeout());
  	}
docs: Waits for the specified log message to appear. Default timeout is 20 seconds.
  Requires read logs permission (android.permission.READ_LOGS) in AndroidManifest.xml of the application under test.
  
  @param logMessage the log message to wait for
  @return {@code true} if log message appears and {@code false} if it does not appear before the timeout
  
  @see #clearLog()