scripts_post_containers_runs_logs {civis}R Documentation

Add log messages

Description

Add log messages

Usage

scripts_post_containers_runs_logs(
  id,
  run_id,
  message = NULL,
  level = NULL,
  messages = NULL,
  child_job_id = NULL
)

Arguments

id

integer required. The ID of the script.

run_id

integer required. The ID of the script run.

message

string optional. The log message to store.

level

string optional. The log level of this message [default: info]

messages

array optional. An array containing the following fields:

  • message string, The log message to store.

  • level string, The log level of this message [default: info]

  • createdAt string, The timestamp of this message in ISO 8601 format. This is what logs are ordered by, so it is recommended to use timestamps with nanosecond precision. If absent, defaults to the time that the log was received by the API.

child_job_id

integer optional. The ID of the child job the message came from.

Value

An empty HTTP response


[Package civis version 3.1.2 Index]