ApifyClient.API.Logs (apify_client v1.0.0)

Copy Markdown View Source

Provides API endpoint related to api/logs

Summary

Functions

Get Actor build or run log

Functions

get(build_or_run_id, opts \\ [])

@spec get(build_or_run_id :: String.t(), opts :: keyword()) ::
  {:ok, String.t()} | {:error, ApifyClient.Error.t()}

Get Actor build or run log

Retrieves logs for a specific Actor build or run.

Options

  • stream: If true or 1 then the logs will be streamed as long as the run or build is running.

  • download: If true or 1 then the web browser will download the log file rather than open it in a tab.

  • raw: If true or 1, the logs will be kept verbatim. By default, the API removes ANSI escape codes from the logs, keeping only printable characters.