Socket
Socket
Sign inDemoInstall

notifications-logger

Package Overview
Dependencies
6
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

9

dist/NotificationLogger.js

@@ -9,3 +9,6 @@ const axios = require('axios');

this.http = axios.create({
baseURL: options.hostAPI
baseURL: options.hostAPI,
params: {
version: this.version
}
})

@@ -19,6 +22,6 @@ }

*/
monit(log) {
monit(data) {
this.send({
created_at: moment().format('YYYY-MM-DD HH:mm:ss'),
log
data
});

@@ -25,0 +28,0 @@ }

{
"name": "notifications-logger",
"version": "0.0.1",
"version": "0.0.2",
"description": "The class for get the logs in systems and send for server api",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -14,3 +14,4 @@ # Install

applicationName: 'application name' ,
hostAPI: 'http://localhost:3000'
version: '<version-app>'
hostAPI: 'http://localhost:3002'
})

@@ -26,3 +27,3 @@

```
notifyLogger.monit('you logger')
notifyLogger.monit('you message logger')

@@ -38,4 +39,4 @@ ```

created_at: YYYY-MM-DD HH:mm:ss,
log: "lorem ipsu"
data: "lorem ipsu"
}
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc