Learn R Programming

civis (version 3.0.0)

fetch_logs: Fetch job logs from the Civis Platform

Description

Fetch job logs from the Civis Platform

Usage

fetch_logs(object, limit = 100, ...)

Value

A list of log messages with class civis_logs.

Arguments

object

A civis_api, civis_error, or civis_ml object.

limit

The number of log lines to fetch, the default is 100.

...

Extra parameters passed to methods, currently unused.

Examples

Run this code
if (FALSE) {
m <- civis_ml_fetch_existing(123)
fetch_logs(m)

import <- write_civis(iris, "scratch.mytest")
fetch_logs(import)

query_run <- query_civis(123)
fetch_logs(query_run)

e <- tryCatch(read_civis("asdf;"), error = function(e) e)
fetch_logs(e)
}

Run the code above in your browser using DataLab