faasr_log | R Documentation |
Helper function to append to the log file residing in an S3 bucket the name of the S3 server is implicit from the validated JSON payload, key LoggingServer the log file is a concatenation of folder "logs" and file name "faasr_log_" + InvocationID + ".txt"
faasr |
list with parsed and validated Payload |
log_message |
string message to be appended to the log |
return nothing / leave the log to the bucket
# This function can be run only in the container
if (interactive()){
log_message <- "test message"
faasr_log(log_message)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.