log.js 145 B

1234
  1. module.exports = (message) => {
  2. // Logging human-readable timestamp.
  3. console.log(`[${new Date().toTimeString().slice(0, 8)}] ${message}`);
  4. }