3.0.1 • Published 3 years ago

the-log v3.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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
 });
});