loli
v0.0.5
Published
Log tool designed for cluster
Downloads
8
Readme
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 --help
Notice
loli
itself islog
module,loli.create
create a log instance with a RedisStream.the
port
,host
,option
part of constructor params will be passed direct toredis.createClient