egg-morgan
v1.0.0
Published
Morgan egg.js plugin.
Downloads
10
Maintainers
Readme
egg-morgan
Morgan plugin for egg.js, based on [email protected].
Install
$ npm i egg-morgan --save
Usage
// {app_root}/config/plugin.js
exports.morgan = {
enable: true,
package: 'egg-morgan',
};
Configuration
Support all morgan configurations.
// {app_root}/config/config.default.js
exports.morgan = {
format: 'combined',
// options: {},
};
see config/config.default.js for more detail.