getLogs method

Future<List<TautulliLog>> getLogs({
  1. String? search,
  2. TautulliLogsOrderColumn? orderColumn,
  3. TautulliOrderDirection? orderDirection,
  4. String? regex,
  5. int? start,
  6. int? end,
})

Handler for get_logs.

Get the Tautulli logs.

Optional Parameters:

  • search: A string to search for
  • orderColumn: The column order key for sorting the log records
  • orderDirection: The direction to sort the log records
  • regex: A regex string to search for
  • start: Row number to start from
  • end: Row number to end at

Implementation

Future<List<TautulliLog>> getLogs({
    String? search,
    TautulliLogsOrderColumn? orderColumn,
    TautulliOrderDirection? orderDirection,
    String? regex,
    int? start,
    int? end,
}) async => _commandGetLogs(
    _client,
    search: search,
    orderColumn: orderColumn,
    orderDirection: orderDirection,
    regex: regex,
    start: start,
    end: end,
);