get_logging <- function(bucket, ...){
r <- QingHTTP(verb = "GET",
bucket = bucket,
path = "?logging",
...)
if (inherits(r, "qingstor_error")) {
return(r)
} else {
r
}
}
put_logging <- function(bucket, ...){
r <- QingHTTP(verb = "PUT",
bucket = bucket,
path = "?logging",
...)
if (inherits(r, "qingstor_error")) {
return(r)
} else {
structure(r, class = "qing_bucket")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.