shadows/framework/src/main/java/org/robolectric/shadows/ShadowLog.java
public static List<LogItem> getLogsForTag(String tag) {
    Queue<LogItem> logs = logsByTag.get(tag);
    return logs == null ? Collections.emptyList() : new ArrayList<>(logs);
  }
public static List<LogItem> getLogsForTag(String tag) {
    Queue<LogItem> logs = logsByTag.get(tag);
    return logs == null ? Collections.emptyList() : new ArrayList<>(logs);
  }
Returns ordered list of all log items for a specific tag.

@param tag The tag to get logs for
@return The list of log items for the tag or an empty list if no logs for that tag exist.