k-log

0.7.0 • Public • Published

k-log Build Status

zero dependencies logger, as minimal as possible.

install

simply download it from npm.

$ npm i -D k-log

usage

Require it in your script and feed it a writestream to get the logger function back.

const logStream = fs.createWriteStream(path.join(__dirname, `application.log`), { flags: 'a' })
const log = require('./lib/logger')(logStream)

Tests

$ npm test

license

MIT © Kalium

Readme

Keywords

none

Package Sidebar

Install

Weekly Downloads

0

Version

0.7.0

License

MIT

Last publish

Collaborators

  • kalium