0.0.4 • Published 10 years ago

log-pipe v0.0.4

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

log-pipe

Pipe stdin to a logfile with optional log rotation parameters

NPM

Example

node index.js 2>&1 | log-pipe app.log --count 3 --lines 15

options

count

The maximum number of rotated logs (including primary log file). Additional files after count will be deleted.

lines

The maximum number of log lines before a rotation occurrs.

install

With npm do:

npm install log-pipe
0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago