Package Exports
- rainbogger
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rainbogger) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Rainbogger
Rainbogger its a simple logger for your applications. Now it has three levels of logs:
- debug -> [DEBUG] 25/4/2021 11:12:50:
- info -> [INFO] 25/4/2021 11:12:50:
- error -> [ERROR] 25/4/2021 11:12:50:
- request -> [REQUEST] 25/4/2021 11:12:50:
Installation
npm i rainbogger
Usage
import Rainbogger from "Rainbogger";
Rainbogger.debug("Test");
Rainbogger.info("Connected to database");
Rainbogger.error("I forgot my coffee");
Rainbogger.request("/api/endpoint");
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.