get method

Stream<LogEntry> get(
  1. String logType
)

Implementation

Stream<LogEntry> get(String logType) async* {
  try {
    final entries = await _client.send(
        _handler.logs.buildGetLogsRequest(logType),
        _handler.logs.parseGetLogsResponse);
    for (var entry in entries) {
      yield entry;
    }
  } on UnknownCommandException {
    // Produces no entries for Firefox.
  }
}