def get_log_by_value(
    project: str,
    api_key: Optional[str] = None,
    **kwargs,
) -> Optional[Log]:

source code

Returns the log with the data matching exactly if it exists, otherwise returns None.

Arguments:

  • project - Name of the project to get logs from.
  • api_key - If specified, unify API key to be used. Defaults to the value in the
  • kwargs - The data to search the upstream logs for.

Returns:

The single Log which matches the data, if it exists.