Let me know if anything is confusing or you have any ideas on how to make logging even simpler to use :)
Will do! In fact, I just filed an issue on the Github repo. ;) A rather comical beginner mistake I made that could be worked around with a bit of typeof checking.
typeof
I just want to add that it is super cool that tags work with chalk:
chalk
const log = require('ratlog')(process.stdout) const warn = log.tag(chalk.red('warning')) log('Normal log') warn('Warning log')
hmm having trouble getting this screenshot embedded. thepracticaldev.s3.amazonaws.com/i...
oh neat! I didn't know about this :) Would probably a helpful thing to add this as a note in the docs
Edit: I added this as a note in the readme :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Let me know if anything is confusing or you have any ideas on how to make logging even simpler to use :)
Will do! In fact, I just filed an issue on the Github repo. ;) A rather comical beginner mistake I made that could be worked around with a bit of
typeof
checking.I just want to add that it is super cool that tags work with
chalk
:hmm having trouble getting this screenshot embedded.
thepracticaldev.s3.amazonaws.com/i...
oh neat! I didn't know about this :) Would probably a helpful thing to add this as a note in the docs
Edit: I added this as a note in the readme :)