rainbogger
TypeScript icon, indicating that this package has built-in type declarations

1.3.3 • Public • Published

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.

License

MIT

Package Sidebar

Install

npm i rainbogger

Weekly Downloads

0

Version

1.3.3

License

MIT

Unpacked Size

7.65 kB

Total Files

8

Last publish

Collaborators

  • jmbargueno