log-filejs

1.0.4 • Public • Published

log-filejs

A logger for just about everything.

NPMNPMNPMNPM

NPM

Install

$ npm i log-filejs --save

Usage

const logFile = require('log-filejs')

logFile.info('Hello again distributed logs')
// - Write to all logs with level `info` and below to `combined.log` 

logFile.error('error 404 not found')
// - Write all logs error (and below) to `error.log`

Readme

Keywords

none

Package Sidebar

Install

npm i log-filejs

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

2.24 kB

Total Files

3

Last publish

Collaborators

  • kaila52