Redis support for loggr
con <- RedisAPI::hiredis()
loggr.redis::log_redis(con, "mykey")
jsonlite::fromJSON(con$LINDEX("mykey", -1))
# $level
# [1] "INFO"
#
# $message
# [1] "Activating logging to 127.0.0.1:6379:mykey"
#
# $time
# [1] "2015-06-10 18:39:03"
Requires two (currently non-CRAN packages)
Install with
devtools::install_github(c("smbache/loggr", "ropensci/RedisAPI"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.