Update index.js
This commit is contained in:
parent
4b0b35d5c8
commit
4750bfee76
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -47,13 +47,13 @@ function cin (question, hide) {
|
||||||
|
|
||||||
class createCout {
|
class createCout {
|
||||||
constructor (debugLevel, logs) {
|
constructor (debugLevel, logs) {
|
||||||
|
if (!debugLevel) debugLevel = 0;
|
||||||
|
if (!logs) logs = false;
|
||||||
debug = debugLevel;
|
debug = debugLevel;
|
||||||
logs1 = logs;
|
logs1 = logs;
|
||||||
console.log(debug, logs1)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cout (string, debugLevel) {
|
cout (string, debugLevel) {
|
||||||
console.log(debug, logs1)
|
|
||||||
if (!debugLevel) debugLevel = 0;
|
if (!debugLevel) debugLevel = 0;
|
||||||
var time = getTime();
|
var time = getTime();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue