feat: show best & latest posts on profile

This commit is contained in:
Barış Soner Uşaklı
2019-06-22 22:52:10 -04:00
parent 289dada5f7
commit b53a60c278
4 changed files with 87 additions and 95 deletions

View File

@@ -13,7 +13,7 @@
};
process.profile = function (operation, start) {
winston.log('%s took %d milliseconds', operation, process.elapsedTimeSince(start));
console.log('%s took %d milliseconds', operation, process.elapsedTimeSince(start));
};
process.elapsedTimeSince = function (start) {