This is a repository used to follow the code used by the npm package "inet-logger"
npm install inet-loggersh
npm install inet-logger
`
$3
Once installed, import the service on all required files then use the "print" method to start logging.
Parameters of the method :
message: The message to log (can be of any data type)
filePath: The path to the file on which to add the logs. If not found, the file is created
Example :
`js
const log = require('inet-logger');
function myMethod(args) {
log.print('/home/username/app.log', "Some Nice log messages");
log.print('/home/username/app.log', args);
}
`
$3
In order to change this package, an npm account is required here NPM
After cloning the repo, modify the code as needed, then update the version inside package.json file and push it using
`sh
npm publish
``