the-log

3.0.1 • Public • Published

the-log

The Log is dead. Long live the Log!

Instalation

npm i -S the-log

Usage

require('the-log');

console.log('echo'); // [2022-02-16T22:06:42.566Z] echo

Suppress logs when running unit tests

require('the-log').silent();

describe('Something', () => {
 it('should do something', () => {
   // test code
 });
});

Package Sidebar

Install

npm i the-log

Weekly Downloads

5

Version

3.0.1

License

MIT

Unpacked Size

3.17 kB

Total Files

5

Last publish

Collaborators

  • ivanoff