1.0.0 • Published 7 years ago
@benhinchley/log v1.0.0
log
a simple logger for node
Install
# if you are using yarn
$ yarn add @benhinchley/log
# or if you are using npm
$ npm install --save @benhinchley/log
Usage
const log = require("@benhinchley/log")()
log.info("this is some info")
log.notice("something to take notice of")
log.warning("just warning you")
log.error(new Error("oops something went wrong"))
License
MIT © Benjamin Hinchley
1.0.0
7 years ago