#basic logger facility
logger <- function(type, text){
cat(sprintf("[RFirmsGeo][%s] %s \n", type, text))
}
logger.info <- function(text){
logger("INFO", text)
}
logger.warn <- function(text){
logger("WARNING", text)
}
logger.error <- function(text){
logger("ERROR", text)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.