Mercurial > hg > isophonics-drupal-site
view core/scripts/js/log.js @ 5:c69a71b4f40f
Add slideshow module
author | Chris Cannam |
---|---|
date | Thu, 07 Dec 2017 14:46:23 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
module.exports = (message) => { // Logging human-readable timestamp. console.log(`[${new Date().toTimeString().slice(0, 8)}] ${message}`); }