not-fancy-log

Logging system similar to fancy-log

Usage no npm install needed!

<script type="module">
  import notFancyLog from 'https://cdn.skypack.dev/not-fancy-log';
</script>

README

not-fancy-log

Same as fancy-log, but does not apply time stamp coloras ansi-grey, which is the background color for solarized.

Usage

const log = require('not-fancy-log');

log('hello'); // [12:34:56] hello

API

log(msg...)

Log a message

log.info(msg...)

Timestamp will be chalk.blue()

log.warn(msg...)

Timestamp will be chalk.yellow()

log.error(msg...)

Timestamp will be chalk.red()

Dependency