README.md

loggr.redis

Build Status

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"

Installation

Requires two (currently non-CRAN packages)

Install with

devtools::install_github(c("smbache/loggr", "ropensci/RedisAPI"))


richfitz/loggr.redis documentation built on May 27, 2019, 8:20 a.m.