a stream logging module for node.js
_ _
(_) |
___ ___ _ __ _| |__ ___
/ __|/ __| '__| | '_ \ / _ \
\__ \ (__| | | | |_) | __/
|___/\___|_| |_|_.__/ \___|
Installing
To install the latest release with npm run:
npm install scribe
to install the development version from github run:
npm install "git+https://github.com/belbis/scribe"
Introduction
Scribe is a logging library for node.js that utilizes writeStreams.
Scripta
Scripta is just plural of Scriptum which are the writeStreams implemented for Scribe. Currently these scripta are supported:
- SQS - AWS SQS scriptum write stream
- Stream - generic write scriptum stream scripta
- File - write to file
- STDOut - write to stdout
- DevNull -- write to /dev/null (currently only linux supported)
usage
stdout example:
var scribe = ; var logger = scribe;var scr = addNewLine: true;logger;logger;logger;logger;
file example:
var scribe = ; var logger = scribe;var scr = addNewLine: true;logger;logger;logger;logger;
AWS SQS example:
var scribe = ; var logger = scribe;var scr = ;logger;logger;logger;
disclaimer
this project is currently in development
future
allow for read as duplex stream
get devnull working on windows