@fizz.js/node-request-logger
v1.0.0
Published
node-request-logger
Downloads
1
Readme
@fizz.js/node-request-logger
This is a request-logger library for express.
install
add dependencies
into package.json
and run yarn install
configure
please put requestLogger
config into config/${env}.json
{
"requestLogger": {
"level": "combined",
"format": "[URL: :url] [UA: :user-agent]"
}
}
test
yarn test
coverage
yarn cover
build
yarn build
docs
yarn docs