Fetch job logs from the Civis Platform
fetch_logs(object, limit = 100, ...)
object | A |
---|---|
limit | The number of log lines to fetch, the default is 100. |
... | Extra parameters passed to methods, currently unused. |
A list of log messages with class civis_logs
.
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) }