view core/scripts/js/log.js @ 2:92f882872392

Trusted hosts, + remove migration modules
author Chris Cannam
date Tue, 05 Dec 2017 09:26:43 +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}`);
}