Sha256: 081e2f952e6891b72caf59208b7038f8a731aabb49249ecd75f8599b097262a2
Contents?: true
Size: 897 Bytes
Versions: 2
Compression:
Stored size: 897 Bytes
Contents
NAME ---- ledis SYNOPSIS -------- a K.I.S.S auto-rotating redis logger for ruby/rails Ruby redis = Redis.new logger = Ledis.logger redis logger = Ledis.new logger = Ledis.new do |config| config.redis = Redis.new config.list = 'teh_foo:log' config.cap = 2 ** 16 end Rails ### file: config/environments/development.rb config.logger = Ledis.logger do |logger| logger.list = "teh_rails_app:#{ Rails.env }:log" end DESCRIPTION ----------- ledis logs yo shiznit to redis. it's got built in logic to auto-truncate logs when they get to big logger.truncate(2 **16) and to grab the most recent ones puts logger.tail(1024) it's list/line oriented, just like a log file and makes no attempt to annotated log lines or add fancy data structures to them INSTALL ------- gem 'ledis'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ledis-0.0.3 | README.md |
ledis-0.0.2 | README.md |