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

https://github.com/inanepain/book-dumperjs


https://github.com/inanepain/book-dumperjs

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

---
description: Easy to use configurable logging.
---

# User Guide

> Credit where credit is due. Dumper inspired by the amazing work done by [John Reeves](https://github.com/jonnyreeves) on [JS-Logger](https://github.com/jonnyreeves/js-logger). So why another logger? See Appendix.

{% hint style="warning" %}
This is still very much a work in progress. Please be patient while the documentation process continues.
{% endhint %}

{% hint style="info" %}
**Keep in mind**: Dumper is a wrapper for console thus its functions work pretty much the same and can simple replace console with a simple find/replace or variable assignment.
{% endhint %}

## Introduction

A wrapper for console that adds named loggers, priority filtering, throttling of messages and jazzed up asserting with the same methods you already know and use.

### Useful pages

Using the basic Dumper:

{% content-ref url="dumpers/global-dumper.md" %}
[global-dumper.md](dumpers/global-dumper.md)
{% endcontent-ref %}

Advanced usage:

{% content-ref url="dumpers/dumper-instances/" %}
[dumper-instances](dumpers/dumper-instances/)
{% endcontent-ref %}

##