Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

@appsweet-co/debug



Makes your console logs much better.



Version
Documentation
License

[![-----------------------------------------------------](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 World

debug.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!