Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/appsweet-co/debug
Makes your console logs much better
https://github.com/appsweet-co/debug
console functional-programming logger
Last synced: about 2 months ago
JSON representation
Makes your console logs much better
- Host: GitHub
- URL: https://github.com/appsweet-co/debug
- Owner: Appsweet-co
- License: mit
- Created: 2020-09-28T15:41:34.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-15T17:41:35.000Z (over 3 years ago)
- Last Synced: 2024-11-28T12:06:25.584Z (about 2 months ago)
- Topics: console, functional-programming, logger
- Language: TypeScript
- Homepage: https://appsweet-co.github.io/debug/
- Size: 299 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
@appsweet-co/debug
Makes your console logs much better.
[![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/aqua.png)](#install)
## ➤ Install
```sh
npm install @appsweet-co/debug
```[![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/aqua.png)](#usage)
## ➤ Usage
Import utilities directly into your files:
```ts
import { Debug, DebugOpts } from '@appsweet-co/debug';const config: DebugOpts = {
disabled: ['warn'],
prefix: 'FooBar',
showMeta: true
};const debug = Debug(config);
debug.log('Hello World')
// [LOG] [FooBar] Hello Worlddebug.warn('Goodbye World');
//
```[![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/aqua.png)](#documentation)
## ➤ Documentation
We generate API documentation using [TypeDoc](http://typedoc.org/). View the docs page [here](https://appsweet-co.github.io/debug).
[![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/aqua.png)](#updating-this-readme)
## ➤ Updating This README
We generate this README with the [@appnest/readme](https://github.com/andreasbm/readme) tool.
Run `npx @appnest/readme generate` or `npm run readme` to update this file.
[![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/aqua.png)](#author)
## ➤ Author
👤 **Appsweet.co**
* Website: http://a6t.co
* Github: [@appsweet-co](https://github.com/appsweet-co)[![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/aqua.png)](#-contributing)
## ➤ 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/appsweet-co/debug/issues).
[![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/aqua.png)](#show-your-support)
## ➤ Show your support
Give a ⭐️ if this project helped you!