README
Lowtide
NodeJS file logger.
Features:
- Extremely minimal and fast, no dependencies
- Logs to file asynchronously
- Supports formatted logging of arrays, objects and dates
Install
npm i lowtide
Usage
// Require
const lowtide = require('lowtide')
// Init logger on this file
const log = lowtide('file.log')
// Log string
log('Something happened!')
// Log object
log({ name: 'something' })
MIT Licensed. Enjoy!