richfitz / loggr.redis

Redis support for loggr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"))

About

Redis support for loggr

License:Other


Languages

Language:R 81.8%Language:Makefile 18.2%