def get_log_by_id(
    id: int,
    project: Optional[str] = None,
    *,
    api_key: Optional[str] = None,
) -> unify.Log:

source code

Returns the log associated with a given id.

Arguments:

  • id - IDs of the logs to fetch.
  • 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

Returns:

The full set of log data.