Fetch job logs from the Civis Platform

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

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.

Value

A list of log messages with class civis_logs.

Examples

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) }