1.1.0 • Published 1 year ago

@pforth/logger v1.1.0

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
1 year ago

This module has a simple logger object that logs to date-stamped files.

Veradaccio

This project should be published in a locally running npm repo. You can do the following:

npm install -g verdaccio

nohup verdaccio --listen 4873

npm set registry http://localhost:4873/

You can also refer to here

Usage

const Logger=require("logger");

Logger.setPrefix("logs/myapp-"); // optional
Logger.info("Some message");
Logger.info("Some message", "Another message");
Logger.warning(dict);
Logger.error("message", a_dict);

Conflict warning

There is another logger module out there in the public domain with the name module name. Use Veradaccio to make sure you get this one instead.

1.1.0

1 year ago

1.0.2

1 year ago

1.0.1

3 years ago

1.0.0

3 years ago