sails-hook-morgan
v1.0.5
Published
Sails hook for using morgan
Downloads
159
Readme
sails-hook-morgan
Sails.js hook for using morgan.
Installation
$ npm install sails-hook-morgan --save
Configuration
config/morgan.js
module.exports.morgan = {
"format": "common"
};
Consult morgan documentation for more format
you can set, the default format
is "dev"
.
Disable in Production Environment
config/env/production.js
module.exports = {
hooks: {
morgan: false
}
};