2.0.1 • Published 2 years ago
error-printer v2.0.1
Error Printer for NodeJS
This project provides a simple function for nodejs where you can automatically write the error message, error code, error date and formatted error date to a file.
How to install:
yarn add error-printer
How to test:
// Create folder with name "test" to project directory and then run this command:
yarn example
How to run:
yarn start
How to use in the project:
(in ES6)
import error_log from "error-printer";
try {
// ... any codes
} catch(err) {
error_log({
message: err.message
});
}
2.0.1
2 years ago
2.0.0
2 years ago
1.0.0-pre-alpha.4
2 years ago
1.0.0-pre-alpha.3
2 years ago
1.0.0-pre-alpha.2
2 years ago
1.0.0-pre-alpha.1
2 years ago
1.0.0-pre-alpha.0
2 years ago