You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logging.log("Loggggginggg"); // Defaults to GENERIC type.
9
+
logging.log("Loggggginggg", "TESTING);
10
+
logging.log("Loggggginggg", "GENERIC);
11
+
logging.log("Loggggginggg", "ERROR);
12
+
logging.log("Loggggginggg", "DEBUG);
13
+
```
14
+
15
+
```
16
+
const logging = require("logging").log;
17
+
18
+
log("Thing");
19
+
```
20
+
21
+
If you modify `index.js` directly if you change [this line](https://github.com/ConniBug/JS-Logging/blob/63372d144bfd020dcd7e36f7bcb35e089b49e303/logging.js#L9) you can modify what the minimun error type will be output in the console.
0 commit comments