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
- Host: GitHub
- URL: https://github.com/willkirkmanm/dl
- Owner: WillKirkmanM
- License: mit
- Created: 2023-01-04T09:35:37.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-04-20T11:00:58.000Z (about 2 years ago)
- Last Synced: 2025-02-23T12:54:45.557Z (4 months ago)
- Topics: command-line-tool, debug, logger, logger-backend, nodejs, utility
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@willkm/dl
- Size: 185 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [@WillKM/DL - A Debug Utility Tool](https://www.npmjs.com/package/@WillKirkmanM/DL)
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.