axmen
v0.1.1
Published
Log stuff ye
Downloads
2
Readme
axmen
Install
npm install axmen --save
Usage
import axmen from 'axmen'
// optional: set a namespace for logs
axmen.configure({
namespace: 'Aliens are real',
showEnv: true, // defaults to true
})
axmen.log('I see dead people.')
// => [Aliens are real] [env=dev] I see dead people.
Disable logs via env variables
DISABLE_AXMEN=true npm run test
# tests will run without logs