An open API service indexing awesome lists of open source software.

https://github.com/willkirkmanm/dl

🌠 Re-Imagine Your Debugging Experience
https://github.com/willkirkmanm/dl

command-line-tool debug logger logger-backend nodejs utility

Last synced: 9 days ago
JSON representation

🌠 Re-Imagine Your Debugging Experience

Awesome Lists containing this project

README

        

# [@WillKM/DL - A Debug Utility Tool](https://www.npmjs.com/package/@WillKirkmanM/DL)
![Image](Assets/preview.png)

A Configurable, Useful Way to Write Debug Log Statements

## Get Started
```javascript
// index.js
#!/usr/bin/env node
import { DebugLogger } from "@WillKM/DL";

const debug = new DebugLogger({
enabled: true,
logLevel: 1,
prefixMessage: '[DebugLogger] -'
});

debug.log(1, "Hello World");
```
### Result
```bash
$ node index.js
> [DebugLogger] - Hello World
```
## Why?
I made this as I wanted to regulate what logs showed when providing different verbosity levels.