Tails the oplog and emits operations. Formerly mydb-slave.
require('tail')({
mongo: 'localhost:27017/local',
redis: 'localhost:6379',
ns: 'cloudup-development.*'
});Options are:
mongomongo uri or instance pointing to thelocaldatabase to tailredisredis uri or instancensoptionally, namespace to filter by (eg:cloudup.*)queryquery to tail from