Hello Orion Rush.
Thank you so much for your reply.
Actually the plugin that I created is installing well in my moodle app.
I also set its settings in site administrator. Its a logger module and its located in moodle\admin\tool\log\store\zlogger.
I just need to integrate it in moodle.
I'm really confused.
I dont know if I need to follow the steps something like this https://docs.moodle.org/dev/Javascript_Modules .
But i think that kind of steps wont work.
I already commit my work in github.
you can check my codes there.
If you clone or download it and save it in your moodle\admin\tool\log\store it will install successfully.
By the way inside zwinston folder you need to run
npm install
after you install dependencies you can run it using npm start.
and this is the url if you want to run the zwinston in browser http://localhost:7000
The logs are saving in logs folder in
https://github.com/exezick/zlogger-moodle/tree/master/zwinston/logsand also in the database
I really dont know if how to call or include
nodejs proj in moodle, and there are no tutorials online.