Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattms/flogging_redis.js
Redis output for Flogging.js
https://github.com/mattms/flogging_redis.js
Last synced: about 1 month ago
JSON representation
Redis output for Flogging.js
- Host: GitHub
- URL: https://github.com/mattms/flogging_redis.js
- Owner: MattMS
- License: mit
- Created: 2016-09-18T14:23:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-27T05:45:52.000Z (over 8 years ago)
- Last Synced: 2024-04-27T01:43:04.399Z (9 months ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redis output for flogging.js
The `options` Object is sent directly to [createClient](https://github.com/NodeRedis/node_redis#rediscreateclient).
## Installing
npm i flogging_redis --save
## Usage
flogging = require('flogging')
flogging_redis = require('flogging_redis')
redis_stream = flogging_redis.with_set({
host: '127.0.0.1',
port: 6379
})log = flogging.start_console_stream(redis_stream)
log.info('Straight into Redis', 12)
log.stop()
## License
[MIT](./LICENSE)