﻿const morgan = require('morgan');

module.exports = (server) => {
	switch (server.get('env')) {
		case 'production':
			server.use(morgan('tiny'));
			break;

		case 'development':
		default:
			server.use(morgan('dev'));
			break;
	}
};

﻿const morgan = require('morgan');

module.exports = (server) => {
	switch (server.get('env')) {
		case 'development':
		default:
			server.use(morgan('dev'));
			break;

		case 'production':
			server.use(morgan('tiny'));
			break;
	}
};

Switch order in log script for consistency.
Switch order in log script for consistency.
