0.0.5 • Published 12 years ago
loli v0.0.5
loli
Log tool designed for cluster, using Redis
Usage
Install as a package, for logging
loli = require 'loli'
log = loli.create {
channel:loli.default_channel
level:loli.DEBUG
port:6379
host:'127.0.0.1'
option:null
}CLI usage, for monitor
lolicon --helpNotice
loliitself islogmodule,loli.createcreate a log instance with a RedisStream.the
port,host,optionpart of constructor params will be passed direct toredis.createClient