node-cout/readme.md

15 lines
365 B
Markdown
Raw Permalink Normal View History

2023-02-03 19:21:19 +01:00
# COUT
This module allow you to make COUT and Debugs in NodeJS
Readme work in progress
```js
import { createCout } from '@thundernetworkrad/std';
let ccout = new createCout(0, true); // debugLevel, logs enabled (file) (like using log() )
let cout = ccout.cout;
cout('test', 0) // console.log day, time and the string, if the number is >= to the debugLevel
```