debugfilelog
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

debugfilelog Build Status

Install this globally and use it to debug where console.log can't be used. Replaces console.log writing in a file of your choice.

Works on node 0.10 and iojs too.

Installation

 $ npm i -g debugfilelog

Usage

const filelog = require('debugfilelog')('/tmp/log')
 
filelog('hello world!')  // writes to file

Readme

Keywords

none

Package Sidebar

Install

npm i debugfilelog

Weekly Downloads

12

Version

1.0.4

License

MIT

Unpacked Size

2.85 kB

Total Files

5

Last publish

Collaborators

  • fabiosantoscode