For the life of me, can't get redis backend to work:
var Minilog=require('minilog'); Minilog.pipe(new Minilog.backends.redis({client:redis,key:key}))
Getting exception:
Unhandled rejection TypeError: dest.emit is not a function at Transform.pipe (C:\...\node_modules\minilog\lib\common\transform.js:28:8) at Function.exports.pipe (C:\...\node_modules\minilog\lib\common\minilog.js:23:14) at Function.module.exports.pipe (C:\...\node_modules\minilog\lib\index.js:21:20)
Am I missing some wrapper? Is there an example of setting up redis backend? Thanks!
For the life of me, can't get redis backend to work:
var Minilog=require('minilog'); Minilog.pipe(new Minilog.backends.redis({client:redis,key:key}))Getting exception:
Unhandled rejection TypeError: dest.emit is not a function at Transform.pipe (C:\...\node_modules\minilog\lib\common\transform.js:28:8) at Function.exports.pipe (C:\...\node_modules\minilog\lib\common\minilog.js:23:14) at Function.module.exports.pipe (C:\...\node_modules\minilog\lib\index.js:21:20)Am I missing some wrapper? Is there an example of setting up redis backend? Thanks!