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

0.2.0 • Public • Published

barelog

NPM version TypeScript npm downloads

  • You want logs? I gotchu fam 👍
  • Need timestamps? Of course you fucking do, you're a professional 🕐
  • Don't have time to RTFM? Good, go get shit done 📚
  • Want log levels? This isn't for you 👎

This logger is for when you're developing a simple script that needs timestamped logs, but no other fancy stuff.

Install

npm install barelog --save

Usage & Output Example

This code...

const log = require('barelog')
 
log('Staying busy. Getting 💩 done.')
log('You like printf format? %s got it 🎉', 'You')

...produces this output

[2019-08-14T01:47:45.896Z] Staying busy. Getting 💩 done.
[2019-08-14T01:47:43.221Z] You like printf format? You got it 🎉

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i barelog

    Weekly Downloads

    12

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    8.7 kB

    Total Files

    11

    Last publish

    Collaborators

    • evanshortiss