{"size": 217, "ext": "js", "max_stars_repo_path": "lib/logger.js", "max_stars_repo_name": "HMUDesign/blss-game", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "lib/logger.js", "max_issues_repo_name": "HMUDesign/blss-game", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/logger.js", "max_forks_repo_name": "HMUDesign/blss-game", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.7, "max_line_length": 52, "alphanum_fraction": 0.5760368664}
const debug = require('debug')('app:logger');

export default async (ctx, next) => {
	const start = Date.now();
	await next();
	const ms = Date.now() - start;
	
	debug(`${ ctx.method } ${ ctx.url }`, `${ ms }ms`);
};
