https://github.com/inanepain/book-dumperjs
https://github.com/inanepain/book-dumperjs
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/inanepain/book-dumperjs
- Owner: inanepain
- Created: 2022-10-20T13:05:22.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-20T14:23:34.000Z (over 2 years ago)
- Last Synced: 2025-02-03T21:53:41.555Z (4 months ago)
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: history/changelog.md
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 %}##