Skip to content

JMBargueno/rainbogger

Repository files navigation

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

About

Node package that logs on console and on file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published