printf = function(msg, ...)
{
cat(sprintf(msg, ...))
}
logger = function(msg, ...)
{
sys.time = as.character(Sys.time())
cat(sys.time, "-", sprintf(msg, ...))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.