fetch_logs {civis}R Documentation

Fetch job logs from the Civis Platform

Description

Fetch job logs from the Civis Platform

Usage

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

## Not run: 
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)

## End(Not run)


[Package civis version 3.1.2 Index]