JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4031226
  • Score
    100M100P100Q200229F
  • License MIT

Log things, prefixed with a timestamp

Package Exports

  • fancy-log

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fancy-log) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

fancy-log

Travis Build Status

Log things, prefixed with a timestamp

This module was pulled out of gulp-util for use inside the CLI

Usage

var log = require('fancy-log');

log('a message');
// [16:27:02] a message

log.error('oh no!');
// [16:27:02] oh no!

API

log(msg...)

Logs the message as if you called console.log but prefixes the output with the current time in HH:MM:ss format.

log.error(msg...)

Logs ths message as if you called console.error but prefixes the output with the current time in HH:MM:ss format.

License

MIT