index.js
Function expressFluentLogger
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
exports = module.exports = function expressFluentLogger(tag, options) {
if (typeof tag === 'object') {
options = tag;
tag = 'debug';
}
Function emitHandler
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
function emitHandler() {
res.removeListener('finish', emitHandler);
res.removeListener('close', emitHandler);
var logObject = {
'timestamp': start.getTime(),