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:
npm i rainbogger
import Rainbogger from "Rainbogger";
Rainbogger.debug("Test");
Rainbogger.info("Connected to database");
Rainbogger.error("I forgot my coffee");
Rainbogger.request("/api/endpoint");
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.