punchcard-cms/punchcard

View on GitHub
lib/init/logger.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict';

const logger = require('morgan');

module.exports = (app) => {
  return new Promise(res => {
    app.use(logger('dev'));

    res(app);
  });
};